Merge pull request #588 from sgmap/delete-procedure-flags
Delete procedure flags
This commit is contained in:
commit
ce4bdb4812
3 changed files with 11 additions and 3 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class RemovePublishedFromProcedures < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
remove_column :procedures, :published
|
||||||
|
end
|
||||||
|
end
|
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveArchivedFromProcedures < ActiveRecord::Migration[5.0]
|
||||||
|
def change
|
||||||
|
remove_column :procedures, :archived
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,7 +10,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended that you check this file into your version control system.
|
# It's strongly recommended that you check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(version: 20170627144046) do
|
ActiveRecord::Schema.define(version: 20170711125726) do
|
||||||
|
|
||||||
# These are extensions that must be enabled in order to support this database
|
# These are extensions that must be enabled in order to support this database
|
||||||
enable_extension "plpgsql"
|
enable_extension "plpgsql"
|
||||||
|
@ -373,12 +373,10 @@ ActiveRecord::Schema.define(version: 20170627144046) do
|
||||||
t.datetime "created_at", null: false
|
t.datetime "created_at", null: false
|
||||||
t.datetime "updated_at", null: false
|
t.datetime "updated_at", null: false
|
||||||
t.integer "administrateur_id"
|
t.integer "administrateur_id"
|
||||||
t.boolean "archived", default: false
|
|
||||||
t.boolean "euro_flag", default: false
|
t.boolean "euro_flag", default: false
|
||||||
t.string "logo"
|
t.string "logo"
|
||||||
t.boolean "cerfa_flag", default: false
|
t.boolean "cerfa_flag", default: false
|
||||||
t.string "logo_secure_token"
|
t.string "logo_secure_token"
|
||||||
t.boolean "published", default: false, null: false
|
|
||||||
t.string "lien_site_web"
|
t.string "lien_site_web"
|
||||||
t.string "lien_notice"
|
t.string "lien_notice"
|
||||||
t.boolean "for_individual", default: false
|
t.boolean "for_individual", default: false
|
||||||
|
|
Loading…
Reference in a new issue