schema_transformer 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +19 -0
- data/TODO +0 -1
- data/lib/schema_transformer.rb +3 -1
- data/lib/schema_transformer/analyze.rb +52 -0
- data/lib/schema_transformer/base.rb +2 -247
- data/lib/schema_transformer/cli.rb +12 -12
- data/lib/schema_transformer/transform.rb +252 -0
- data/lib/schema_transformer/version.rb +1 -1
- data/test/fake_app/config/schema_transformations/books.json +1 -1
- data/test/fake_app/log/schema_transformer.log +2143 -57778
- data/test/schema_transformer_test.rb +141 -193
- data/test/test_helper.rb +75 -0
- metadata +7 -5
- data/test/fake_app/config/schema_transformations/users.json +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"mod":"ADD COLUMN active tinyint(1) DEFAULT '0', \n ADD COLUMN title varchar(255) DEFAULT 'Mr', \n DROP COLUMN about_me","table":"users"}
|