KenjiOhtsuka / harmonica

Kotlin Database Migration Tool. This tool makes it really easy to create table, index, add columns, and so on, with Kotlin DSL.
MIT License
133 stars 17 forks source link

Research other tools #20

Open KenjiOhtsuka opened 6 years ago

KenjiOhtsuka commented 6 years ago

https://github.com/rails/rails/blob/f47b4236e089b07cb683ee9b7ff8b06111a0ec10/activerecord/lib/active_record/railties/databases.rake https://github.com/cakephp/phinx/blob/master/src/Phinx/Db/Adapter/PostgresAdapter.php https://gist.github.com/amejiarosario/2950888

Available transformations

Creation

Modification

Deletion

KenjiOhtsuka commented 6 years ago

http://guides.rubyonrails.org/v3.2.9/migrations.html

add_column
add_index
change_column
change_table
create_table
drop_table
remove_column
remove_index
rename_column
KenjiOhtsuka commented 6 years ago

already implemented