Skip to content

Commit

Permalink
replace t.timestamps with explicit columns
Browse files Browse the repository at this point in the history
  • Loading branch information
bedrock-adam committed Nov 17, 2024
1 parent 677dec2 commit 18a4b2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/migrate/create_outboxer_messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ def up
t.string :messageable_id, limit: 255, null: false
t.string :messageable_type, limit: 255, null: false

t.timestamps
t.datetime :created_at, precision: 6, null: false
t.datetime :updated_at, precision: 6, null: false

t.string :updated_by_publisher_name, limit: 263 # 255 (hostname) + 1 (colon) + 7 (pid)
t.bigint :updated_by_publisher_id
Expand Down

0 comments on commit 18a4b2a

Please sign in to comment.