Skip to content

Commit 034b237

Browse files
committed
Use datetime type in migration
1 parent 67aeccd commit 034b237

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/migrate/20200205223315_install_blazer.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def change
1414
t.references :query
1515
t.text :statement
1616
t.string :data_source
17-
t.timestamp :created_at
17+
t.datetime :created_at
1818
end
1919

2020
create_table :blazer_dashboards do |t|
@@ -39,7 +39,7 @@ def change
3939
t.text :slack_channels
4040
t.string :check_type
4141
t.text :message
42-
t.timestamp :last_run_at
42+
t.datetime :last_run_at
4343
t.timestamps null: false
4444
end
4545
end

0 commit comments

Comments
 (0)