diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-17 14:50:19 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-17 14:50:19 +0200 |
commit | 0b59af49cb80a27ac188532c8de2bfec8a1c1d8b (patch) | |
tree | 9c3f0a5c16afc2f70d2f7601e8417a5d98928fb5 /db/schema.rb | |
parent | d550933907a51aa6cf5ed8b042db2f7e3323fa8c (diff) | |
download | gitlab-ce-0b59af49cb80a27ac188532c8de2bfec8a1c1d8b.tar.gz |
Fix db schema
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/db/schema.rb b/db/schema.rb index f6a2bc0ebc3..cda5c3cf946 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -13,9 +13,6 @@ ActiveRecord::Schema.define(version: 20131217102743) do - # These are extensions that must be enabled in order to support this database - enable_extension "plpgsql" - create_table "broadcast_messages", force: true do |t| t.text "message", null: false t.datetime "starts_at" @@ -97,20 +94,20 @@ ActiveRecord::Schema.define(version: 20131217102743) do add_index "keys", ["user_id"], name: "index_keys_on_user_id", using: :btree create_table "merge_requests", force: true do |t| - t.string "target_branch", null: false - t.string "source_branch", null: false - t.integer "source_project_id", null: false + t.string "target_branch", null: false + t.string "source_branch", null: false + t.integer "source_project_id", null: false t.integer "author_id" t.integer "assignee_id" t.string "title" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false - t.text "st_commits" - t.text "st_diffs" + t.datetime "created_at", null: false + t.datetime "updated_at", null: false + t.text "st_commits", limit: 2147483647 + t.text "st_diffs", limit: 2147483647 t.integer "milestone_id" t.string "state" t.string "merge_status" - t.integer "target_project_id", null: false + t.integer "target_project_id", null: false t.integer "iid" t.text "description" end @@ -229,14 +226,14 @@ ActiveRecord::Schema.define(version: 20131217102743) do create_table "snippets", force: true do |t| t.string "title" - t.text "content" - t.integer "author_id", null: false + t.text "content", limit: 2147483647 + t.integer "author_id", null: false t.integer "project_id" - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false t.string "file_name" t.datetime "expires_at" - t.boolean "private", default: true, null: false + t.boolean "private", default: true, null: false t.string "type" end |