projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
6845ca3fe5247639059c517d0bc08f4e36384364
[cs356-p2-videostore.git]
/
db
/
migrate
/
033_create_bonus_policies.rb
1
class CreateBonusPolicies < ActiveRecord::Migration
2
def self.up
3
create_table :bonus_policies do |t|
4
t.column :number, :integer
5
t.column :bonus_type, :string
6
t.column :days, :integer
7
end
8
end
9
10
def self.down
11
drop_table :bonus_policies
12
end
13
end