Convert end_date in conferences to timestamp with tz
This commit is contained in:
parent
7c57ff699d
commit
e67f719998
|
@ -0,0 +1,7 @@
|
||||||
|
class ConvertConferencesEndDateToTimestampWithTz < ActiveRecord::Migration[5.2]
|
||||||
|
def up
|
||||||
|
transaction do
|
||||||
|
execute "ALTER TABLE conferences ALTER end_date TYPE timestamptz USING end_date AT TIME ZONE 'UTC';"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue