aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-12-02 11:46:08 +0100
committerYves Senn <yves.senn@gmail.com>2014-12-02 11:46:08 +0100
commitb8ec014b2d9f7cd740800a8a99839ad79f196bf8 (patch)
tree3c3566c3d5fe90b52830eb9eeefe4fd0886fd61f /activerecord/test/schema
parentaf7c6e493c3d586b7b81f8176b4c99c1c791991b (diff)
downloadrails-b8ec014b2d9f7cd740800a8a99839ad79f196bf8.tar.gz
rails-b8ec014b2d9f7cd740800a8a99839ad79f196bf8.tar.bz2
rails-b8ec014b2d9f7cd740800a8a99839ad79f196bf8.zip
tests, extract pg number tests into separate file.
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/postgresql_specific_schema.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/activerecord/test/schema/postgresql_specific_schema.rb b/activerecord/test/schema/postgresql_specific_schema.rb
index def8dbd9f9..4488274f53 100644
--- a/activerecord/test/schema/postgresql_specific_schema.rb
+++ b/activerecord/test/schema/postgresql_specific_schema.rb
@@ -1,6 +1,6 @@
ActiveRecord::Schema.define do
- %w(postgresql_arrays postgresql_numbers postgresql_times
+ %w(postgresql_arrays postgresql_times
postgresql_oids defaults postgresql_timestamp_with_zones
postgresql_partitioned_table postgresql_partitioned_table_parent).each do |table_name|
execute "DROP TABLE IF EXISTS #{quote_table_name table_name}"
@@ -52,14 +52,6 @@ _SQL
_SQL
execute <<_SQL
- CREATE TABLE postgresql_numbers (
- id SERIAL PRIMARY KEY,
- single REAL,
- double DOUBLE PRECISION
- );
-_SQL
-
- execute <<_SQL
CREATE TABLE postgresql_times (
id SERIAL PRIMARY KEY,
time_interval INTERVAL,