activation page carte for procedure with db attribut use_api_carto is true

This commit is contained in:
Xavier J 2015-09-28 18:55:16 +02:00
parent 97cf5fc605
commit 91e937c247
16 changed files with 232 additions and 208 deletions

View file

@ -0,0 +1,5 @@
class AddUseAPICartoToProcedure < ActiveRecord::Migration
def change
add_column :procedures, :use_api_carto, :boolean, :default => false
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20150923101000) do
ActiveRecord::Schema.define(version: 20150928141512) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -118,9 +118,10 @@ ActiveRecord::Schema.define(version: 20150923101000) do
t.string "organisation"
t.string "direction"
t.string "lien_demarche"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.boolean "test"
t.boolean "use_api_carto", default: false
end
create_table "types_de_piece_justificative", force: :cascade do |t|