repo.or.cz
/
gitorious.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Handle not ready repos
[gitorious.git]
/
db
/
migrate
/
20131202175633_add_features_to_projects.rb
blob
8a1f9982a07fc028a7703704e12df48467abe095
1
class AddFeaturesToProjects < ActiveRecord::Migration
2
def change
3
default_value = [].to_yaml
4
add_column :projects, :features, :string, :default => default_value, :null => false
5
execute "UPDATE projects SET features = '#{default_value}'"
6
end
7
end