Skip to content

Commit

Permalink
rism-digital#1076: remove unused table
Browse files Browse the repository at this point in the history
  • Loading branch information
xhero committed Apr 19, 2021
1 parent 4aceb68 commit 7bf47b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 5 additions & 0 deletions db/migrate/20210419114225_drop_catalogues_catalogues.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class DropCataloguesCatalogues < ActiveRecord::Migration[5.2]
def change
drop_table :catalogues_catalogues
end
end
9 changes: 1 addition & 8 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 2021_04_13_114601) do
ActiveRecord::Schema.define(version: 2021_04_19_114225) do

create_table "active_admin_comments", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.string "namespace"
Expand All @@ -37,13 +37,6 @@
t.index ["user_id"], name: "index_bookmarks_on_user_id"
end

create_table "catalogues_catalogues", id: false, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.integer "catalogue_a_id"
t.integer "catalogue_b_id"
t.index ["catalogue_a_id"], name: "index_catalogues_catalogues_on_catalogue_a_id"
t.index ["catalogue_b_id"], name: "index_catalogues_catalogues_on_catalogue_b_id"
end

create_table "delayed_jobs", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.integer "priority", default: 0, null: false
t.integer "attempts", default: 0, null: false
Expand Down

0 comments on commit 7bf47b9

Please sign in to comment.