added 'monavis' inside the procedure and for users

This commit is contained in:
clemkeirua 2019-07-16 17:24:31 +02:00 committed by Pierre de La Morinerie
parent 7946aa5de2
commit d8b63cd4c9
9 changed files with 104 additions and 4 deletions

View file

@ -0,0 +1,5 @@
class AddMonavisToProcedures < ActiveRecord::Migration[5.2]
def change
add_column :procedures, :monavis, :text
end
end

View file

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2019_07_11_135457) do
ActiveRecord::Schema.define(version: 2019_07_16_141633) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -500,6 +500,7 @@ ActiveRecord::Schema.define(version: 2019_07_11_135457) do
t.boolean "durees_conservation_required", default: true
t.string "path"
t.string "declarative_with_state"
t.text "monavis"
t.index ["declarative_with_state"], name: "index_procedures_on_declarative_with_state"
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
t.index ["parent_procedure_id"], name: "index_procedures_on_parent_procedure_id"