aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index bec4291457..7a0cf550e0 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -99,6 +99,10 @@ ActiveRecord::Schema.define do
t.string :name
end
+ create_table :collections, :force => true do |t|
+ t.string :name
+ end
+
create_table :colnametests, :force => true do |t|
t.integer :references, :null => false
end
@@ -394,6 +398,11 @@ ActiveRecord::Schema.define do
t.integer :price
end
+ create_table :products, :force => true do |t|
+ t.references :collection
+ t.string :name
+ end
+
create_table :projects, :force => true do |t|
t.string :name
t.string :type
@@ -499,6 +508,11 @@ ActiveRecord::Schema.define do
t.column :looter_type, :string
end
+ create_table :variants, :force => true do |t|
+ t.references :product
+ t.string :name
+ end
+
create_table :vertices, :force => true do |t|
t.column :label, :string
end