diff options
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 39 |
1 files changed, 38 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 671c0dae..99e5aaa8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,6 +10,43 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 0) do +ActiveRecord::Schema.define(:version => 20120308160013) do + + create_table "doc_files", :force => true do |t| + t.string "name" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + + add_index "doc_files", ["name"], :name => "index_doc_files_on_name" + + create_table "doc_versions", :force => true do |t| + t.integer "version_id" + t.integer "doc_id" + t.integer "doc_file_id" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + + create_table "docs", :force => true do |t| + t.text "blob_sha" + t.text "plain" + t.text "html" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + + add_index "docs", ["blob_sha"], :name => "index_docs_on_blob_sha" + + create_table "versions", :force => true do |t| + t.string "name" + t.string "commit_sha" + t.string "tree_sha" + t.datetime "committed" + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + end + + add_index "versions", ["name"], :name => "index_versions_on_name" end |