Firstly I created database directly in postgresql.
After that I generated schema from existsing database and after all i built model.
When I try to insert new record to database I received following error:
sequence "Category_id_seq" does not exist
In schema file sequence name is defined like this: sequence: '"Address_id_seq"'
There's are apostrophes and quotes.
In Category model file is same like above, apostrophes and quotes.
When I remove quotes from sequence in model files everything is ok and there're no problems with insert new row to database.