projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
641c2c91ae7debcaff65730e0fdf7d4174a491b7
[cs356-p2-videostore.git]
/
db
/
migrate
/
015_create_bitems.rb
1
class CreateBitems < ActiveRecord::Migration
2
def self.up
3
create_table :bitems do |t|
4
t.column :customer_id, :integer, :null => false
5
t.column :merchandise_id, :integer, :null => false
6
t.column :date, :date, :null => false
7
end
8
end
9
10
def self.down
11
drop_table :bitems
12
end
13
end