Type:
Class
Constants:
LOST_CONNECTION_ERROR_MESSAGES : [ "Server shutdown in progress", "Broken pipe", "Lost connection to MySQL server during query", "MySQL server has gone away" ]
QUOTED_FALSE : '1', '0'
NATIVE_DATABASE_TYPES : { :primary_key => "int(11) auto_increment PRIMARY KEY", :string => { :name => "varchar", :limit => 255 }, :text => { :name => "text" }, :integer => { :name => "int", :limit => 4 }, :float => { :name => "float" }, :decimal => { :name => "decimal" }, :datetime => { :name => "datetime" }, :timestamp => { :name => "datetime" }, :time => { :name => "time" }, :date => { :name => "date" }, :binary => { :name => "blob" }, :boolean => { :name => "tinyint", :limit => 1 } }
INDEX_TYPES : [:fulltext, :spatial]
INDEX_USINGS : [:btree, :hash]
remove_column_sql

remove_column_sql(table_name, column_name, type = nil, options = {}) Instance Protected methods

2015-06-20 00:00:00
begin_isolated_db_transaction

begin_isolated_db_transaction(isolation) Instance Public methods

2015-06-20 00:00:00
change_column_default

change_column_default(table_name, column_name, default) Instance Public methods

2015-06-20 00:00:00
drop_table

drop_table(table_name, options = {}) Instance Public methods

2015-06-20 00:00:00
type_to_sql

type_to_sql(type, limit = nil, precision = nil, scale = nil) Instance Public methods Maps

2015-06-20 00:00:00
charset

charset() Instance Public methods Returns the database character set.

2015-06-20 00:00:00
emulate_booleans

emulate_booleans Class Public methods By default, the

2015-06-20 00:00:00
remove_index_sql

remove_index_sql(table_name, options = {}) Instance Protected methods

2015-06-20 00:00:00
rename_index

rename_index(table_name, old_name, new_name) Instance Public methods

2015-06-20 00:00:00
subquery_for

subquery_for(key, select) Instance Protected methods MySQL is too stupid to

2015-06-20 00:00:00