projects
/
cs356-p2-videostore.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add the has_many_polymorphs plugin
[cs356-p2-videostore.git]
/
vendor
/
plugins
/
has_many_polymorphs
/
test
/
integration
/
app
/
db
/
migrate
/
006_add_deleted_to_user.rb
1
class AddDeletedToUser < ActiveRecord::Migration
2
def self.up
3
add_column :users, :deleted, :boolean, :default => false
4
end
5
6
def self.down
7
remove_column :users, :deleted
8
end
9
end