Procedure: remove now duplicate organisation and direction

This commit is contained in:
simon lehericey 2018-05-11 12:09:32 +02:00
parent 39bb56d1d9
commit 928227a610
7 changed files with 7 additions and 8 deletions

View file

@ -0,0 +1,5 @@
class AllowProcedureOrganismeToBeNull < ActiveRecord::Migration[5.2]
def change
change_column_null :procedures, :organisation, true
end
end

View file

@ -441,7 +441,7 @@ ActiveRecord::Schema.define(version: 2018_05_15_135415) do
create_table "procedures", id: :serial, force: :cascade do |t|
t.string "libelle"
t.string "description"
t.string "organisation", null: false
t.string "organisation"
t.string "direction"
t.string "lien_demarche"
t.datetime "created_at", null: false