Merge branch 'develop' into cerfa_flag

This commit is contained in:
Xavier J 2016-02-04 11:03:49 +01:00
commit 01d71aa1cd
38 changed files with 931 additions and 230 deletions

View file

@ -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