2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-11 21:04:42 +08:00
discourse/db/migrate/20120311163914_create_forum_threads.rb

12 lines
277 B
Ruby
Raw Normal View History

2013-02-05 14:16:51 -05:00
class CreateForumThreads < ActiveRecord::Migration
def change
2013-02-25 19:42:20 +03:00
create_table :forum_threads do |t|
2013-02-05 14:16:51 -05:00
t.integer :forum_id, null: false
t.string :title, null: false
t.integer :last_post_id
t.datetime :last_posted_at
t.timestamps
end
end
end