How to use this method,
this is my code
require "sequel/extensions/schema_dumper"
sd = Sequel::Database.new
puts sd.dump_schema_migration
But i got this error message,
sequel-3.27.0/lib/sequel/database/query.rb:186:in `tables': #tables should
be overridden by adapters (Sequel::NotImplemented)
2011/12/6 Jeremy Evans <[email protected]>:
> On Dec 6, 6:33 pm, coolesting <[email protected]> wrote:
>> Hi, there,
>> my architecture of web app is designed likes the following ,
>>
>> /app1
>> /aap1/migrations/..
>> /app1/shema.rb
>>
>> /app2
>> /aap2/migrations/..
>> /app2/shema.rb
>>
>> /app3
>> /aap3/migrations/..
>> /app3/shema.rb
>>
>> now, i want to export the migrations record to corresponding shema.rb,
>> how should i do ?
>> Thanks in advance .
>
> The schema_dumper extension can dump the current schema in migration
> format:
http://sequel.rubyforge.org/rdoc-plugins/files/lib/sequel/extensions/schema_dumper_rb.html
>
> Jeremy
>
> --
> You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
[email protected].
> For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.