search for: auto_migr

Displaying 1 result from an estimated 1 matches for "auto_migr".

Did you mean: auto_min
2011 Dec 23
0
Datamapper problem "no such table"
...e used to work, but for some reason it won''t now: [... load models] DataMapper.setup(:default, "mysql://cm:password-yro0w6Hh2UrkfKl135yGWg@public.gmane.org/cm") DataMapper.setup(:lite, "sqlite3:///home/tigre/cm.sqlite") DataMapper.finalize DataMapper.repository(:lite).auto_migrate! DataMapper.repository(:lite) do w = WorkCenter.new(:name => "Foo") w.save end Now I get this error: /usr/lib/ruby/gems/1.9.1/gems/dm-do-adapter-1.2.0/lib/dm-do-adapter/adapter.rb:147:in `execute_reader'': no such table: work_centers (DataObjects::SyntaxError) the c...