summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-13 17:38:59 +0200
committerJacob Vosmaer <contact@jacobvosmaer.nl>2016-04-13 17:38:59 +0200
commitf07316f27cc1a5d354bc82b4caa1de703a3bcb5e (patch)
tree68c8f99f8df9375c9644993cf0bbd2f92cf9bfdd /db/schema.rb
parent6f6d2d0ad5039fa8ace7e09c4f5867bb680b0f79 (diff)
parent3463ffde9e3ef425fbaa6093f01212cccb01707b (diff)
downloadgitlab-ce-f07316f27cc1a5d354bc82b4caa1de703a3bcb5e.tar.gz
Merge branch 'master' of https://gitlab.com/gitlab-org/gitlab-ce into auto-fsck
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 863e1f3f075..d36e2b235e5 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -638,6 +638,18 @@ ActiveRecord::Schema.define(version: 20160412140240) do
add_index "notes", ["project_id"], name: "index_notes_on_project_id", using: :btree
add_index "notes", ["updated_at"], name: "index_notes_on_updated_at", using: :btree
+ create_table "notification_settings", force: :cascade do |t|
+ t.integer "user_id", null: false
+ t.integer "source_id", null: false
+ t.string "source_type", null: false
+ t.integer "level", default: 0, null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_index "notification_settings", ["source_id", "source_type"], name: "index_notification_settings_on_source_id_and_source_type", using: :btree
+ add_index "notification_settings", ["user_id"], name: "index_notification_settings_on_user_id", using: :btree
+
create_table "oauth_access_grants", force: :cascade do |t|
t.integer "resource_owner_id", null: false
t.integer "application_id", null: false