diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-07-29 17:10:15 +0300 |
commit | 03654a6abf47c88b8b980a6707874ff78080d2fe (patch) | |
tree | c5ba2dba7f0685dd6c5e656a50f70400a746b23e /db/schema.rb | |
parent | 535feb08ce90352c89799df5e3e70a10e53ee10d (diff) | |
download | gitlab-ce-03654a6abf47c88b8b980a6707874ff78080d2fe.tar.gz |
Label and LabelLink models for implementing own GitLab labels
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index e4dcdf5bea2..7ab7982feab 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140625115202) do +ActiveRecord::Schema.define(version: 20140729140420) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -109,6 +109,22 @@ ActiveRecord::Schema.define(version: 20140625115202) do add_index "keys", ["user_id"], name: "index_keys_on_user_id", using: :btree + create_table "label_links", force: true do |t| + t.integer "label_id" + t.integer "target_id" + t.string "target_type" + t.datetime "created_at" + t.datetime "updated_at" + end + + create_table "labels", force: true do |t| + t.string "title" + t.string "color" + t.integer "project_id" + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "merge_request_diffs", force: true do |t| t.string "state" t.text "st_commits" |