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
/
20120518123337_create_ldap_groups.rb
blob
afc93ee2de605c0a65154daf57f6258c5f9c9e0a
1
class CreateLdapGroups < ActiveRecord::Migration
2
def self.up
3
create_table :ldap_groups do |t|
4
t.string :name
5
t.integer :user_id
6
t.text :description
7
t.string :avatar_file_name
8
t.string :avatar_content_type
9
t.string :avatar_file_size
10
t.datetime :avatar_updated_at
11
t.text :member_dns
12
13
t.timestamps
14
end
15
end
16
17
def self.down
18
drop_table :ldap_groups
19
end
20
end