Skip to content

A simple tool to manipulate Rails schema dumps written in Rust. Written for internal purposes. Might be useful to somebody else.

License

Notifications You must be signed in to change notification settings

stefanoc/schematool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cargo run repair schema.rb

Outputs SQL statements to "repair" the database schema. For now it just removes the LIMIT 255 from varchar columns.

cargo run diff schema1.rb schema2.rb

Prints out the differences (missing tables, missing columns, different column options) between two schemas.

About

A simple tool to manipulate Rails schema dumps written in Rust. Written for internal purposes. Might be useful to somebody else.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages