projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Clean up BonusPolicy a little
[cs356-p2-videostore.git]
/
db
/
migrate
/
026_drop_bitems.rb
1
class DropBitems < ActiveRecord::Migration
2
def self.up
3
drop_table :bitems
4
end
5
6
def self.down
7
create_table :bitems do |t|
8
t.column :customer_id, :integer, :null => false
9
t.column :merchandise_id, :integer, :null => false
10
t.column :date, :date, :null => false
11
end
12
end
13
end