Quoting J. Chase Freeman <
j.ch...@gmail.com>:
> Allright, I have been working on this for a while now. And I can not seem
> to migrate the db.
>
> I could not get Run `rake <engine_name>:install:migrations` to work, and
> after reading through the documentation I found that 'rake
> railties:install:migrations' would run, but after that, when I run 'rake
> db:migrate' I get this:
>
> == AddColumnToModel: migrating
> ===============================================
> -- add_column(:models, :my_column_name, :boolean)
> rake aborted!
> StandardError: An error has occurred, this and all later migrations
> canceled:
>
> SQLite3::SQLException: no such table: models: ALTER TABLE "models" ADD
> "my_column_name"
>
> Any thoughts?
Looks to me like you didn't replace the boilerplate from the example
about creating a migration - unless of course you really do want a
column named "my_column_name". Try editing the migration in your
custom engine to be what you really want - the real table name and
actual column name, then rerun the 'rake railties:install:migrations'
command and see if that makes the change you want. (You will want to
remove the files that have 'my_column_name' in them.
--
Cynthia N. Kiser
c...@ugcs.caltech.edu