projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
67adbe5ebfba36a5d2ccf7298cb103b42455eb5e
[cs356-p2-videostore.git]
/
021_create_rentable_policies.rb
1
class CreateRentablePolicies < ActiveRecord::Migration
2
def self.up
3
create_table :rentable_policies do |t|
4
t.column :name, :string, :null => false
5
t.column :value, :integer
6
t.column :description, :string, :null => false
7
end
8
end
9
10
def self.down
11
drop_table :rentable_policies
12
end
13
end