Sha256: 3e9c1c6bcfffdd366bee79653f1f7d328124aab38e66dccaa2310008ec8d4c05
Contents?: true
Size: 267 Bytes
Versions: 6
Compression:
Stored size: 267 Bytes
Contents
class AddBookstoreIdToItem < ActiveRecord::Migration[5.2] def self.up add_column :items, :bookstore_id, :integer add_index :items, :bookstore_id end def self.down remove_index :items, :bookstore_id remove_column :items, :bookstore_id end end
Version data entries
6 entries across 6 versions & 6 rubygems