wiki is done

This commit is contained in:
vsizov 2012-02-20 20:16:55 +03:00
parent 2e1f119f22
commit bdc42488e9
8 changed files with 42 additions and 7 deletions

View file

@ -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"