projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add rails version number to migrations
[rails.git]
/
db
/
migrate
/
20120208194454_add_domain_to_acl.rb
1
class AddDomainToAcl < ActiveRecord::Migration[5.0]
2
def up
3
add_column :acls, :domain, :string
4
change_column :acls, :address, :inet, :null => true
5
end
6
7
def down
8
change_column :acls, :address, :inet, :null => false
9
remove_column :acls, :domain
10
end
11
end