Add GamePolicy and integrate with the Game model
[cs356-p2-videostore.git] / db / migrate / 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