test/dummy/db/schema.rb in rails_ops-1.3.0 vs test/dummy/db/schema.rb in rails_ops-1.4.0
- old
+ new
@@ -12,6 +12,20 @@
end
create_table :flowers, force: true do |t|
t.boolean :planted, null: false, default: true
end
+
+ create_table :computers, force: true do |t|
+ t.string :name
+ t.references :mainboard
+ end
+
+ create_table :mainboards, force: true do |t|
+ t.string :name
+ t.references :cpu
+ end
+
+ create_table :cpus, force: true do |t|
+ t.string :name
+ end
end