diff options
author | vsizov <vsv2711@gmail.com> | 2012-02-20 21:16:55 +0400 |
---|---|---|
committer | vsizov <vsv2711@gmail.com> | 2012-02-20 21:16:55 +0400 |
commit | bdc42488e9b0d297e0773040e077f414b6605c3d (patch) | |
tree | 2270f377f977a2e49987accab4d3199bbf1e6664 /db | |
parent | 2e1f119f2288a864ddc1ab49d2a4c47a573b47df (diff) |
wiki is done
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index c32df7ea198..cf4b226c910 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -159,6 +159,20 @@ ActiveRecord::Schema.define(:version => 20120219193300) do t.datetime "updated_at" end + create_table "wiki_pages", :force => true do |t| + t.string "slug" + t.string "title" + t.text "content" + t.integer "author_id" + t.integer "project_id" + t.datetime "created_at" + t.datetime "updated_at" + end + + add_index "wiki_pages", ["author_id"], :name => "index_wiki_pages_on_author_id" + add_index "wiki_pages", ["project_id"], :name => "index_wiki_pages_on_project_id" + add_index "wiki_pages", ["slug"], :name => "index_wiki_pages_on_slug", :unique => true + create_table "wikis", :force => true do |t| t.string "title" t.text "content" |