diff options
| author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-08 11:23:13 +0100 |
|---|---|---|
| committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-08 11:25:12 +0100 |
| commit | 4caf58a19b0e738889b512598c790582c24ee5c8 (patch) | |
| tree | 6a91cea2028e7c16112cad4926053d42732d1fd7 /db/schema.rb | |
| parent | fcea5fc8f902c6e8c8f4643abd9ed91c67e22228 (diff) | |
| download | gitlab-ce-4caf58a19b0e738889b512598c790582c24ee5c8.tar.gz | |
Adds not null constraint to ProjectMirrorData's foreign_key project_id
Diffstat (limited to 'db/schema.rb')
| -rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 6fd10785d77..6f40f70d350 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: 20180508055821) do +ActiveRecord::Schema.define(version: 20180508100222) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -1529,7 +1529,7 @@ ActiveRecord::Schema.define(version: 20180508055821) do add_index "project_import_data", ["project_id"], name: "index_project_import_data_on_project_id", using: :btree create_table "project_mirror_data", force: :cascade do |t| - t.integer "project_id" + t.integer "project_id", null: false t.string "status" t.string "jid" t.text "last_error" |
