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
change_table transformations #7788
Comments
It's not clear what you are asking. Can you please describe the issue in more detail or close it? |
@Bobbyw In activerecord/lib/active_record/migration.rb file create_table, drop_table & rename_table has been documented, is it fair enough to document change_table on transformations list or not ? #create_table(name, options) Creates a table called +name+ and to +new_name+. |
Ah I see what you are saying now. Someone more involved than myself would be better to make this decision. @steveklabnik is a nice guy and might be able to provide some insight. |
I think so. CLosing this one. Thanks @frodsan |
Is it fine to write the change_table transformation on
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/migration.rb
As it is not available on the migration file
change_table(:suppliers) do |t|
t.column :name, :string, :limit => 60
Other column alterations here
end
The text was updated successfully, but these errors were encountered: