aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/mysql_specific_schema.rb
diff options
context:
space:
mode:
authormasarakki <masaki@hisme.net>2013-04-01 16:48:26 +0900
committermasarakki <masaki@hisme.net>2013-04-01 17:09:20 +0900
commiteab657b267ae898e8cad36385574f91ef838610e (patch)
tree6e0c2a4050071e04cbd0de9adf8fcf7d34338e29 /activerecord/test/schema/mysql_specific_schema.rb
parent0a16cf19c2e2a2ba5cdb6ca849b60751f6cb52ed (diff)
downloadrails-eab657b267ae898e8cad36385574f91ef838610e.tar.gz
rails-eab657b267ae898e8cad36385574f91ef838610e.tar.bz2
rails-eab657b267ae898e8cad36385574f91ef838610e.zip
fix detect column type of enum
enum includes text or blob or ... hooked by wrong regex
Diffstat (limited to 'activerecord/test/schema/mysql_specific_schema.rb')
-rw-r--r--activerecord/test/schema/mysql_specific_schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema/mysql_specific_schema.rb b/activerecord/test/schema/mysql_specific_schema.rb
index ecdce1519b..f2cffca52c 100644
--- a/activerecord/test/schema/mysql_specific_schema.rb
+++ b/activerecord/test/schema/mysql_specific_schema.rb
@@ -63,7 +63,7 @@ SQL
ActiveRecord::Base.connection.execute <<-SQL
CREATE TABLE enum_tests (
- enum_column ENUM('true','false')
+ enum_column ENUM('text','blob','tiny','medium','long')
)
SQL