aboutsummaryrefslogtreecommitdiffstats
path: root/guides/bug_report_templates/active_record_master.rb
diff options
context:
space:
mode:
Diffstat (limited to 'guides/bug_report_templates/active_record_master.rb')
-rw-r--r--guides/bug_report_templates/active_record_master.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/bug_report_templates/active_record_master.rb b/guides/bug_report_templates/active_record_master.rb
index d95354e12d..9557f0b7c5 100644
--- a/guides/bug_report_templates/active_record_master.rb
+++ b/guides/bug_report_templates/active_record_master.rb
@@ -21,10 +21,10 @@ ActiveRecord::Base.establish_connection(adapter: 'sqlite3', database: ':memory:'
ActiveRecord::Base.logger = Logger.new(STDOUT)
ActiveRecord::Schema.define do
- create_table :posts do |t|
+ create_table :posts, force: true do |t|
end
- create_table :comments do |t|
+ create_table :comments, force: true do |t|
t.integer :post_id
end
end