Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Rails makes it easier to do migrations and roll them back if necessary but you can dump the SQL from Postgres easily and you can choose whether Rails stores the schema in SQL or in its own format. I use SQL as at least in 3.2 Rails' own format didn't support all the features of Postgres (partial indexes etc.)

When doing a new deploy you shouldn't usually go through the migrations but just load the schema.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: