instance method
create_table
Ruby on Rails 3.1.12
Since v3.1.12 Last seen in v3.1.12Signature
create_table(table_name, options = {})
No documentation comment.
Parameters
-
table_namereq -
optionsopt = {}
Source
# File activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb, line 479
def create_table(table_name, options = {})
super(table_name, options.reverse_merge(:options => "ENGINE=InnoDB"))
end
Defined in activerecord/lib/active_record/connection_adapters/mysql2_adapter.rb line 479
· View on GitHub
· Improve this page
· Find usages on GitHub