Add NOT NULL constraint on cpu_limit
This commit is contained in:
@ -2,6 +2,6 @@
|
||||
|
||||
class AddCpuLimitToExecutionEnvironment < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :execution_environments, :cpu_limit, :integer, default: 20
|
||||
add_column :execution_environments, :cpu_limit, :integer, null: false, default: 20
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user