Sha256: 9d27faf71df87960b864b00f9ba962905d36c08a207861862ffc3afcf2e06ca3
Contents?: true
Size: 267 Bytes
Versions: 1
Compression:
Stored size: 267 Bytes
Contents
class AddBookstoreIdToItem < ActiveRecord::Migration[5.1] 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_seed-0.4.0.beta.1 | spec/dummy/db/migrate/20110620173525_add_bookstore_id_to_item.rb |