Quote postgres datatype.
FossilOrigin-Name: b3c53efdf577a8db8a955d7789723d0d6df44b37b3f769090d31980261ee2eb6
This commit is contained in:
parent
649332a422
commit
22eae27d60
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ class Lastrun < Sequel::Migration
|
||||||
|
|
||||||
def up
|
def up
|
||||||
if @db.adapter_scheme == :postgres
|
if @db.adapter_scheme == :postgres
|
||||||
add_column :metronome, :lastrun, timestamptz
|
add_column :metronome, :lastrun, 'timestamptz'
|
||||||
else
|
else
|
||||||
add_column :metronome, :lastrun, DateTime
|
add_column :metronome, :lastrun, DateTime
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue