aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/schema
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-28 12:24:07 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-28 12:24:07 -0600
commitf7d0a3ba7e9e676d399e7aeed7485a8bf03992f8 (patch)
tree2021a3477af697b70198a739082befd7780ff321 /activerecord/test/schema
parentd74c89ac16aa87f3bc166450e8d4b87382da17a4 (diff)
parentd5bf649a535948e70692e521ce3070595334e71b (diff)
downloadrails-f7d0a3ba7e9e676d399e7aeed7485a8bf03992f8.tar.gz
rails-f7d0a3ba7e9e676d399e7aeed7485a8bf03992f8.tar.bz2
rails-f7d0a3ba7e9e676d399e7aeed7485a8bf03992f8.zip
Merge pull request #18548 from sebjacobs/support-bidirectional-destroy-dependencies
Add support for bidirectional destroy dependencies
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r--activerecord/test/schema/schema.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb
index ca1757acd0..66a1f5aa8a 100644
--- a/activerecord/test/schema/schema.rb
+++ b/activerecord/test/schema/schema.rb
@@ -207,6 +207,14 @@ ActiveRecord::Schema.define do
add_index :companies, [:firm_id, :type], name: "company_partial_index", where: "rating > 10"
add_index :companies, :name, name: 'company_name_index', using: :btree
+ create_table :content, force: true do |t|
+ t.string :title
+ end
+
+ create_table :content_positions, force: true do |t|
+ t.integer :content_id
+ end
+
create_table :vegetables, force: true do |t|
t.string :name
t.integer :seller_id