Sha256: af08ab0070b3f5b3907f7b60542ceca0804f3f723907eb4dec78fac8dbfbe89d
Contents?: true
Size: 474 Bytes
Versions: 5
Compression:
Stored size: 474 Bytes
Contents
# frozen_string_literal: true class RemoveCategories < ActiveRecord::Migration[7.0] def change drop_table :page_categories do |t| t.integer :page_id t.integer :category_id t.index :category_id t.index :page_id end drop_table :categories do |t| t.string :name t.string :slug t.integer :position t.datetime :created_at, null: false t.datetime :updated_at, null: false t.index :slug end end end
Version data entries
5 entries across 5 versions & 1 rubygems