diff options
author | Matthew Draper <matthew@trebex.net> | 2017-04-13 01:51:52 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 01:51:52 +0930 |
commit | 0eb21874cb89dc5ca42945111b4e4ae94106b3e5 (patch) | |
tree | bf2fbbe92b154f4cca7a2a70abd6eb2d6d496e5e /activerecord/test/cases/migration | |
parent | 2b4583f2a2ef94bc8c046e36e2b62ec642bbfb41 (diff) | |
parent | 7384771dd0652ec4d82c0ad16522a87102316aee (diff) | |
download | rails-0eb21874cb89dc5ca42945111b4e4ae94106b3e5.tar.gz rails-0eb21874cb89dc5ca42945111b4e4ae94106b3e5.tar.bz2 rails-0eb21874cb89dc5ca42945111b4e4ae94106b3e5.zip |
Merge pull request #28740 from matthewd/old-postgres
Use a query that's compatible with PostgreSQL 9.2
Diffstat (limited to 'activerecord/test/cases/migration')
-rw-r--r-- | activerecord/test/cases/migration/rename_table_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/migration/rename_table_test.rb b/activerecord/test/cases/migration/rename_table_test.rb index 19588d28a2..7bcabd0cc6 100644 --- a/activerecord/test/cases/migration/rename_table_test.rb +++ b/activerecord/test/cases/migration/rename_table_test.rb @@ -80,7 +80,7 @@ module ActiveRecord end def test_renaming_table_doesnt_attempt_to_rename_non_existent_sequences - connection.create_table :cats, id: :uuid + connection.create_table :cats, id: :uuid, default: "uuid_generate_v4()" assert_nothing_raised { rename_table :cats, :felines } assert connection.table_exists? :felines ensure |