Merge branch 'develop' into cerfa_flag
This commit is contained in:
commit
01d71aa1cd
38 changed files with 931 additions and 230 deletions
|
@ -0,0 +1,9 @@
|
|||
class ChangeDateCreationTypeToEntreprise < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :entreprises, :date_creation, "timestamp USING to_timestamp(date_creation) at time zone 'UTC-2'"
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :entreprises, :date_creation, "integer USING extract(epoch from date_creation::timestamp with time zone)::integer"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue