Remove unused column
The index in schema.rb is not directly related to this modification, it should
have been part of 2b763e4484
but was presumably
forgotten
This commit is contained in:
parent
c72febfa82
commit
29a7ecb477
2 changed files with 7 additions and 2 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
class RemoveTypeFromTypesDeChamp < ActiveRecord::Migration[5.2]
|
||||||
|
def change
|
||||||
|
remove_column :types_de_champ, :type, :string
|
||||||
|
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: 2019_02_26_105641) do
|
ActiveRecord::Schema.define(version: 2019_03_11_140926) 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"
|
||||||
|
@ -536,7 +536,6 @@ ActiveRecord::Schema.define(version: 2019_02_26_105641) do
|
||||||
t.integer "procedure_id"
|
t.integer "procedure_id"
|
||||||
t.text "description"
|
t.text "description"
|
||||||
t.boolean "mandatory", default: false
|
t.boolean "mandatory", default: false
|
||||||
t.string "type"
|
|
||||||
t.boolean "private", default: false, null: false
|
t.boolean "private", default: false, null: false
|
||||||
t.datetime "created_at"
|
t.datetime "created_at"
|
||||||
t.datetime "updated_at"
|
t.datetime "updated_at"
|
||||||
|
@ -559,6 +558,7 @@ ActiveRecord::Schema.define(version: 2019_02_26_105641) do
|
||||||
t.integer "order_place"
|
t.integer "order_place"
|
||||||
t.string "lien_demarche"
|
t.string "lien_demarche"
|
||||||
t.boolean "mandatory", default: false
|
t.boolean "mandatory", default: false
|
||||||
|
t.index ["procedure_id"], name: "index_types_de_piece_justificative_on_procedure_id"
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "users", id: :serial, force: :cascade do |t|
|
create_table "users", id: :serial, force: :cascade do |t|
|
||||||
|
|
Loading…
Reference in a new issue