I am creating a db in rake, and I have it all set up in migrations. I notice that the schema.rb contains the code for creation of a parituclar table. However, when I rake it, I get "blah blah table does not exist." What does this mean? The db is set up (mysql) no tables are in it, and the schema.rb contains code to create it. Whats this about?
Hey could you post the full error message? Before you do, try rake db:schema:dump If you''re schema.rb is exactly how you want the db to be setup then it''s a quicker option than building a bunch of separate migrations Gavin http://handyrailstips.com On Jul 29, 3:09 pm, RVince <rvinc...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> I am creating a db in rake, and I have it all set up in migrations. I > notice that the schema.rb contains the code for creation of a > parituclar table. However, when I rake it, I get "blah blah table does > not exist." > > What does this mean? The db is set up (mysql) no tables are in it, and > the schema.rb contains code to create it. Whats this about?
On Jul 29, 10:09 am, RVince <rvinc...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org> wrote:> I am creating a db in rake, and I have it all set up in migrations. I > notice that the schema.rb contains the code for creation of a > parituclar table. However, when I rake it, I get "blah blah table does > not exist." >"blah blah table does not exist" is not anything like a standard error message. Why don''t you post the whole "blah blah" message if you''re interested in help?> What does this mean? The db is set up (mysql) no tables are in it, and > the schema.rb contains code to create it. Whats this about?