sequel-3.27.0/lib/sequel/database/query.rb:153:in `schema': schema parsing is not implemented on this database (Sequel::Error)
Still get the error when i use the dump_table_schema(:table) method, my database is sqlite. 2011/12/8 Jeremy Evans <[email protected]> > On Dec 7, 6:53 pm, coolesting <[email protected]> wrote: > > 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) > > What database are you using? It looks like whatever it is doesn't > have Database#tables implemented. You can still use the schema_dumper > extension to dump the schema for specific tables using > dump_table_schema(:table). > > 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.
