repo.or.cz
/
appoyo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
some
[appoyo.git]
/
db
/
migrate
/
20090722122757_create_fbfriends.rb
blob
9eecb5ddb9cacb49a4998a1094c49720040cf54e
1
class CreateFbfriends < ActiveRecord::Migration
2
def self.up
3
create_table :fbfriends, :force => true do |t|
4
t.string :facebook_id, :null => false
5
t.text :friends_list, :null => false
6
t.timestamps
7
end
8
end
9
10
def self.down
11
drop_table :fbfriends
12
end
13
end