Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

schema_builder full api compare to rails. #82

Open
bung87 opened this issue Jun 9, 2020 · 0 comments
Open

schema_builder full api compare to rails. #82

bung87 opened this issue Jun 9, 2020 · 0 comments

Comments

@bung87
Copy link
Contributor

bung87 commented Jun 9, 2020

https://edgeguides.rubyonrails.org/active_record_migrations.html#using-the-change-method

add_column
add_foreign_key
add_index
add_reference
add_timestamps
change_column_default (must supply a :from and :to option)
change_column_null
create_join_table
create_table
disable_extension
drop_join_table
drop_table (must supply a block)
enable_extension
remove_column (must supply a type)
remove_foreign_key (must supply a second table)
remove_index
remove_reference
remove_timestamps
rename_column
rename_index
rename_table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant