summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorAndreas Brandl <abrandl@gitlab.com>2018-02-04 20:46:14 +0100
committerAndreas Brandl <abrandl@gitlab.com>2018-02-05 16:16:57 +0100
commit24a11c957a34d2f22c0276fa8dcc3e2c23d1f164 (patch)
treede56172ee3b0627f5bebb74a8d08ea13c3dc3aa7 /db/schema.rb
parentd07addbf6e3841ae31a7e62ecbb29523f4d8c859 (diff)
downloadgitlab-ce-24a11c957a34d2f22c0276fa8dcc3e2c23d1f164.tar.gz
Set todos#author_id to NOT NULL.32282-add-foreign-keys-to-todos
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb
index dd8d14fb401..c56cb461320 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: 20180202111106) do
+ActiveRecord::Schema.define(version: 20180204200836) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -1707,7 +1707,7 @@ ActiveRecord::Schema.define(version: 20180202111106) do
t.integer "project_id", null: false
t.integer "target_id"
t.string "target_type", null: false
- t.integer "author_id"
+ t.integer "author_id", null: false
t.integer "action", null: false
t.string "state", null: false
t.datetime "created_at"