Migration issues #896

Closed
jimjimovich opened this Issue Aug 22, 2011 · 2 comments

Projects

None yet

3 participants

Contributor

It seems that there are some discrepancies between the migrations in /db/migrations and what ends up in your migrations folder when starting a new project.

This seems to be caused by discrepancies between the files in /db/migrations and /pages/db/migrations (and possibly in other engines that are packaged as gems). The migrations in /db/migrate work, but those created by the generator do not.

First problem: Not the same amount of files.
/db/migrate has 21 files, a newly generated app has only 20 (I can't quickly determine which one is missing).

Also,
https://github.com/resolve/refinerycms/blob/master/db/migrate/20110329222114_create_seo_meta.rb
is not the same as
https://github.com/resolve/refinerycms/blob/master/pages/db/migrate/20110329080451_create_seo_meta.rb
The second file gets included when generating a new app, this causes a migration error of "unknown attribute: browser_title"

Owner
parndt commented Aug 22, 2011

Doh. We should overwrite the ones on the engines with the contents of
the ones in db/migrate

Contributor

@parndt
we're working on a fix ;)

@ugisozols ugisozols closed this in 9934303 Aug 22, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment