diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-12-03 17:54:25 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-12-03 17:54:25 +0100 |
commit | be5527b8e8fcc25946b128fe78db10d5bee2a483 (patch) | |
tree | 22bcea749969051c6a03ee69d7e47a0d877b68b4 /activerecord/lib | |
parent | 7c20a8b5581f1b0054cba590542960be455a027e (diff) | |
download | rails-be5527b8e8fcc25946b128fe78db10d5bee2a483.tar.gz rails-be5527b8e8fcc25946b128fe78db10d5bee2a483.tar.bz2 rails-be5527b8e8fcc25946b128fe78db10d5bee2a483.zip |
`connection.type_to_sql` returns a `String` for unmapped types.
Closes #13146.
This fixes an error when using:
```
change_colum :table, :column, :bigint, array: true
```
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb index 6268ae4875..51a6929dab 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb @@ -690,7 +690,7 @@ module ActiveRecord column_type_sql else - type + type.to_s end end |