Sha256: 81939612ffbd2c012598e7dc3f8f83809aa5a8f05a82ee59c8e4b37fc28ad0cb
Contents?: true
Size: 402 Bytes
Versions: 423
Compression:
Stored size: 402 Bytes
Contents
class CreateCheckedItems < ActiveRecord::Migration def self.up create_table :checked_items do |t| t.integer :item_id, :null => false t.integer :basket_id, :null => false t.datetime :due_date, :null => false t.timestamps end add_index :checked_items, :item_id add_index :checked_items, :basket_id end def self.down drop_table :checked_items end end
Version data entries
423 entries across 416 versions & 12 rubygems