Remove now useless carto tables

This commit is contained in:
gregoirenovel 2018-12-18 20:53:29 +01:00
parent 766f0401db
commit 27f4d9421f
2 changed files with 7 additions and 27 deletions

View file

@ -0,0 +1,6 @@
class DropOldCarto < ActiveRecord::Migration[5.2]
def change
drop_table :cadastres
drop_table :quartier_prioritaires
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: 2018_12_04_125101) do
ActiveRecord::Schema.define(version: 2018_12_18_103212) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -142,22 +142,6 @@ ActiveRecord::Schema.define(version: 2018_12_04_125101) do
t.index ["gestionnaire_id"], name: "index_avis_on_gestionnaire_id"
end
create_table "cadastres", id: :serial, force: :cascade do |t|
t.string "surface_intersection"
t.float "surface_parcelle"
t.string "numero"
t.integer "feuille"
t.string "section"
t.string "code_dep"
t.string "nom_com"
t.string "code_com"
t.string "code_arr"
t.text "geometry"
t.integer "dossier_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "champs", id: :serial, force: :cascade do |t|
t.string "value"
t.integer "type_de_champ_id"
@ -487,16 +471,6 @@ ActiveRecord::Schema.define(version: 2018_12_04_125101) do
t.index ["service_id"], name: "index_procedures_on_service_id"
end
create_table "quartier_prioritaires", id: :serial, force: :cascade do |t|
t.string "code"
t.string "nom"
t.string "commune"
t.text "geometry"
t.integer "dossier_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "received_mails", id: :serial, force: :cascade do |t|
t.text "body"
t.string "subject"