aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/mysql_specific_schema.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21932 from kamipo/add_stored_procedure_test_in_mysql2Sean Griffin2015-10-201-2/+2
|\ | | | | Add stored procedure test in mysql2
| * Add stored procedure test in mysql2Ryuta Kamizono2015-10-151-2/+2
| |
* | Fix to correctly schema dump the `tinyblob`Ryuta Kamizono2015-10-151-1/+1
|/ | | | | | Currently `tinyblob` is dumped to `t.binary "tiny_blob", limit: 255`. But `t.binary ... limit: 255` is generating SQL to `varchar(255)`. It is incorrect. This commit fixes this problem.
* Add `:charset` and `:collation` options support for MySQL string and text ↵Ryuta Kamizono2015-03-061-9/+5
| | | | | | | | | | | columns Example: create_table :foos do |t| t.string :string_utf8_bin, charset: 'utf8', collation: 'utf8_bin' t.text :text_ascii, charset: 'ascii' end
* tests, favor `drop_table` and `:if_exists` over raw SQL.Yves Senn2015-03-021-6/+2
| | | | | We've replaced most querues using DROP TABLE in our tests already. This patch replaces the last couple calls.
* fix detect column type of enummasarakki2013-04-011-1/+1
| | | | enum includes text or blob or ... hooked by wrong regex
* Add support for FULLTEXT and SPATIAL indexes using the :type flag for MySQL.Ken Mazaika2013-03-271-0/+10
|
* Use the MySQL varbinary type when appropriate in migrations.Victor Costan2012-10-271-9/+13
|
* fix: limit of enum columns of mysqlYamada Masaki2012-06-281-0/+10
|
* Fix type_to_sql with text and limit on mysql/mysql2. Fix GH #3931.kennyj2012-02-261-1/+1
|
* Only use LOWER for mysql case insensitive uniqueness check when column has a ↵Joseph Palermo2011-10-091-0/+11
| | | | case sensitive collation.
* Bug Fix -- clean up connection after stored procedure [#3151 state:resolved]Jeff Lawson2010-08-171-0/+11
|
* Enable use of MySQL stored procedures by default.Justin Bailey2009-09-171-0/+12
| | | | | | [#3204 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Create mysql binary_fields table with latin1 character set as with utf8 all ↵Tarmo Tänav2008-08-261-2/+2
| | | | | | the limits would have to be divided by 3 to get the expected text types Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use schema.rb for all databasesFrederick Cheung2008-04-221-0/+12
Move adapter specific schema into their own files Signed-off-by: Michael Koziarski <michael@koziarski.com>