Drop the now useless rna_informations table

This commit is contained in:
gregoirenovel 2018-12-08 11:40:02 +01:00
parent 24e3b92897
commit edca75148a
2 changed files with 6 additions and 14 deletions

View file

@ -0,0 +1,5 @@
class DropRNAInformations < ActiveRecord::Migration[5.2]
def change
drop_table :rna_informations
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_18_204707) do
ActiveRecord::Schema.define(version: 2018_12_21_103901) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -497,19 +497,6 @@ ActiveRecord::Schema.define(version: 2018_12_18_204707) do
t.index ["procedure_id"], name: "index_refused_mails_on_procedure_id"
end
create_table "rna_informations", id: :serial, force: :cascade do |t|
t.string "association_id"
t.string "titre"
t.text "objet"
t.date "date_creation"
t.date "date_declaration"
t.date "date_publication"
t.integer "entreprise_id"
t.datetime "created_at"
t.datetime "updated_at"
t.index ["entreprise_id"], name: "index_rna_informations_on_entreprise_id"
end
create_table "services", force: :cascade do |t|
t.string "type_organisme", null: false
t.string "nom", null: false