Commit 0b59af49cb80a27ac188532c8de2bfec8a1c1d8b
1 parent
d5509339
Exists in
master
and in
4 other branches
Fix db schema
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
13 additions
and
16 deletions
Show diff stats
db/schema.rb
| ... | ... | @@ -13,9 +13,6 @@ |
| 13 | 13 | |
| 14 | 14 | ActiveRecord::Schema.define(version: 20131217102743) do |
| 15 | 15 | |
| 16 | - # These are extensions that must be enabled in order to support this database | |
| 17 | - enable_extension "plpgsql" | |
| 18 | - | |
| 19 | 16 | create_table "broadcast_messages", force: true do |t| |
| 20 | 17 | t.text "message", null: false |
| 21 | 18 | t.datetime "starts_at" |
| ... | ... | @@ -97,20 +94,20 @@ ActiveRecord::Schema.define(version: 20131217102743) do |
| 97 | 94 | add_index "keys", ["user_id"], name: "index_keys_on_user_id", using: :btree |
| 98 | 95 | |
| 99 | 96 | create_table "merge_requests", force: true do |t| |
| 100 | - t.string "target_branch", null: false | |
| 101 | - t.string "source_branch", null: false | |
| 102 | - t.integer "source_project_id", null: false | |
| 97 | + t.string "target_branch", null: false | |
| 98 | + t.string "source_branch", null: false | |
| 99 | + t.integer "source_project_id", null: false | |
| 103 | 100 | t.integer "author_id" |
| 104 | 101 | t.integer "assignee_id" |
| 105 | 102 | t.string "title" |
| 106 | - t.datetime "created_at", null: false | |
| 107 | - t.datetime "updated_at", null: false | |
| 108 | - t.text "st_commits" | |
| 109 | - t.text "st_diffs" | |
| 103 | + t.datetime "created_at", null: false | |
| 104 | + t.datetime "updated_at", null: false | |
| 105 | + t.text "st_commits", limit: 2147483647 | |
| 106 | + t.text "st_diffs", limit: 2147483647 | |
| 110 | 107 | t.integer "milestone_id" |
| 111 | 108 | t.string "state" |
| 112 | 109 | t.string "merge_status" |
| 113 | - t.integer "target_project_id", null: false | |
| 110 | + t.integer "target_project_id", null: false | |
| 114 | 111 | t.integer "iid" |
| 115 | 112 | t.text "description" |
| 116 | 113 | end |
| ... | ... | @@ -229,14 +226,14 @@ ActiveRecord::Schema.define(version: 20131217102743) do |
| 229 | 226 | |
| 230 | 227 | create_table "snippets", force: true do |t| |
| 231 | 228 | t.string "title" |
| 232 | - t.text "content" | |
| 233 | - t.integer "author_id", null: false | |
| 229 | + t.text "content", limit: 2147483647 | |
| 230 | + t.integer "author_id", null: false | |
| 234 | 231 | t.integer "project_id" |
| 235 | - t.datetime "created_at", null: false | |
| 236 | - t.datetime "updated_at", null: false | |
| 232 | + t.datetime "created_at", null: false | |
| 233 | + t.datetime "updated_at", null: false | |
| 237 | 234 | t.string "file_name" |
| 238 | 235 | t.datetime "expires_at" |
| 239 | - t.boolean "private", default: true, null: false | |
| 236 | + t.boolean "private", default: true, null: false | |
| 240 | 237 | t.string "type" |
| 241 | 238 | end |
| 242 | 239 | ... | ... |