- Notifications
You must be signed in to change notification settings - Fork1
sqldef/sqldef-ruby
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Ruby interface to callsqldef.
gem'sqldef'
You can downloadmysqldef,psqldef, orsqlite3def.
Sqldef.bin='./bin'Sqldef.download(:psqldef)
download is automatically executed by the following methods too.
You can export the database schema to a file.
Sqldef.export(command::psqldef,host:host,port:port,user:user,password:password,database:database,path:'db/schema.sql',)
You can show DDLs to be executed.
Sqldef.dry_run(command::psqldef,host:host,port:port,user:user,password:password,database:database,path:'db/schema.sql',)
You can run DDLs to match the schema.
Sqldef.apply(command::psqldef,host:host,port:port,user:user,password:password,database:database,path:'db/schema.sql',)
The gem is available as open source under the terms of theMIT License.
About
Ruby interface for sqldef
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.