aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema/postgresql_specific_schema.rb
diff options
context:
space:
mode:
authorYves Senn <yves.senn@garaio.com>2012-09-05 13:06:28 +0200
committerYves Senn <yves.senn@garaio.com>2012-09-06 18:01:34 +0200
commit319482d8fe49d70817ffa0f30ab6653b1ea9cbac (patch)
tree5d239c92bc93cee89dce148082644cdbe0c0f78d /activerecord/test/schema/postgresql_specific_schema.rb
parente8c9f0513da0fac45ba585cf62739da57603f4ed (diff)
downloadrails-319482d8fe49d70817ffa0f30ab6653b1ea9cbac.tar.gz
rails-319482d8fe49d70817ffa0f30ab6653b1ea9cbac.tar.bz2
rails-319482d8fe49d70817ffa0f30ab6653b1ea9cbac.zip
postgres, map scaled intervals to string datatype (#7518)
Diffstat (limited to 'activerecord/test/schema/postgresql_specific_schema.rb')
-rw-r--r--activerecord/test/schema/postgresql_specific_schema.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/schema/postgresql_specific_schema.rb b/activerecord/test/schema/postgresql_specific_schema.rb
index 2d8c0aa69a..2cd9f30b59 100644
--- a/activerecord/test/schema/postgresql_specific_schema.rb
+++ b/activerecord/test/schema/postgresql_specific_schema.rb
@@ -109,7 +109,8 @@ _SQL
execute <<_SQL
CREATE TABLE postgresql_times (
id SERIAL PRIMARY KEY,
- time_interval INTERVAL
+ time_interval INTERVAL,
+ scaled_time_interval INTERVAL(6)
);
_SQL