Skip to content

Commit 08da4f8

Browse files
committed
Fix the notes table migration
1 parent 6e797c6 commit 08da4f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/migrate/20250424073627_create_notes.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class CreateNotes < ActiveRecord::Migration[8.0]
22
def change
3-
create_table :notes do |t|
3+
create_table :notes, if_not_exists: true do |t|
44
t.references :quote, null: false, foreign_key: true
55
t.references :quote_item, foreign_key: true
66
t.text :notes, null: false

0 commit comments

Comments
 (0)