diff options
author | Konstantin Shabanov <etehtsea@gmail.com> | 2012-06-12 18:10:08 +0400 |
---|---|---|
committer | Konstantin Shabanov <etehtsea@gmail.com> | 2012-06-14 17:44:51 +0400 |
commit | 12e9a75f227ea7bcc23e2717e9ff5a72ec64e1f1 (patch) | |
tree | 91a5ba4f0cd38588c1399b1ba13a1853fbbd37e5 /activerecord/test/cases/schema_dumper_test.rb | |
parent | 122f6de2e038dbbece4ee59ddcfcf75ae9c49f63 (diff) | |
download | rails-12e9a75f227ea7bcc23e2717e9ff5a72ec64e1f1.tar.gz rails-12e9a75f227ea7bcc23e2717e9ff5a72ec64e1f1.tar.bz2 rails-12e9a75f227ea7bcc23e2717e9ff5a72ec64e1f1.zip |
Add uuid type support to PostgreSQL adapter
Diffstat (limited to 'activerecord/test/cases/schema_dumper_test.rb')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index ab80dd1d6d..ed0b6a86ba 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -257,6 +257,13 @@ class SchemaDumperTest < ActiveRecord::TestCase end end + def test_schema_dump_includes_uuid_shorthand_definition + output = standard_dump + if %r{create_table "poistgresql_uuids"} =~ output + assert_match %r{t.uuid "guid"}, output + end + end + def test_schema_dump_includes_hstores_shorthand_definition output = standard_dump if %r{create_table "postgresql_hstores"} =~ output |