updated readme

This commit is contained in:
Mike Kelley
2011-08-27 01:41:48 -06:00
commit 17fee3c6d5
98 changed files with 11421 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
class CreateTopicsTable < ActiveRecord::Migration
def self.up
create_table :topics, :force => true do |t|
t.string :title
t.integer :hits, :default => 0
t.boolean :sticky, :default => false
t.boolean :locked, :default => false
t.integer :posts_count
t.integer :forum_id
t.integer :user_id
t.timestamps
end
end
def self.down
drop_table :topics
end
end