On Dec 12, 12:27 am, coolesting <[email protected]> wrote:
> I sure this problem of error is solved, but as my topic, actually, i
> want export the schema from many tables that is created by many
> migrations, not from all of tables in database. In others words, it
> just integrates many migrations to a migration.
>
> For example,  this is 10 migrations.
> 001_migration.rb
> 002_migration.rb
> 003_migration.rb
> 004_migration.rb
> 005_migration.rb
> ..
> ...
> 010_migration.rb
>
> Generally, we will run the migrations to the database at first.
> Now, for certain reason, i need a schema that is created by many
> migration files, such as the file 004_migration.rb and
> 005_migration.rb

Well, If you want to export the schema as of version 4, I'd just run
migrations up to version 4 (bin/sequel -M 4), then dump the schema
migration afterward.

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.

Reply via email to