Drop the Notifications table
This commit is contained in:
parent
142241dd16
commit
c5c330e1df
2 changed files with 6 additions and 11 deletions
5
db/migrate/20180201163642_drop_notifications.rb
Normal file
5
db/migrate/20180201163642_drop_notifications.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class DropNotifications < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
drop_table :notifications
|
||||
end
|
||||
end
|
12
db/schema.rb
12
db/schema.rb
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20180111153308) do
|
||||
ActiveRecord::Schema.define(version: 20180201163642) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
|
@ -332,16 +332,6 @@ ActiveRecord::Schema.define(version: 20180111153308) do
|
|||
t.index ["procedure_id"], name: "index_module_api_cartos_on_procedure_id", unique: true, using: :btree
|
||||
end
|
||||
|
||||
create_table "notifications", force: :cascade do |t|
|
||||
t.boolean "already_read", default: false
|
||||
t.string "liste", array: true
|
||||
t.string "type_notif"
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.integer "dossier_id"
|
||||
t.index ["dossier_id"], name: "index_notifications_on_dossier_id", using: :btree
|
||||
end
|
||||
|
||||
create_table "pieces_justificatives", force: :cascade do |t|
|
||||
t.string "content"
|
||||
t.integer "dossier_id"
|
||||
|
|
Loading…
Reference in a new issue