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
/
027_create_users.rb
1
class CreateUsers < ActiveRecord::Migration
2
def self.up
3
create_table :users do |t|
4
t.column :name, :string, :null => false
5
t.column :hashed_password, :string
6
t.column :salt, :string
7
t.column :manager, :boolean, :default => false
8
end
9
end
10
11
def self.down
12
drop_table :users
13
end
14
end