Skip to content

Commit b8fdc03

Browse files
committed
MIGRATION edit
1 parent e3661fd commit b8fdc03

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

db/migrate/20240806232759_create_newsletters.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ def change
44
t.primary_key :id, :string, default: -> { "ULID()" }
55
t.string :title, null: false
66
t.text :content, null: false
7-
t.datetime :sent_at
7+
t.datetime :sent_at, index: true
88

99
t.timestamps
1010
end

db/schema.rb

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)