Add NOT NULL constraint on cpu_limit

This commit is contained in:
Sebastian Serth
2021-09-19 15:21:41 +02:00
parent 0cc1c7a396
commit 8bd9a93944
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ ActiveRecord::Schema.define(version: 2021_06_02_071834) do
t.integer "file_type_id"
t.integer "memory_limit"
t.boolean "network_enabled"
t.integer "cpu_limit", default: 20
t.integer "cpu_limit", default: 20, null: false
end
create_table "exercise_collection_items", id: :serial, force: :cascade do |t|