Finalize check fields
This commit is contained in:
parent
63fc206c27
commit
174cf9f503
12 changed files with 73 additions and 34 deletions
|
|
@ -17,10 +17,12 @@ class FinalizeCheckFields < ActiveRecord::Migration[7.2]
|
|||
add_reference :checks, :principle, foreign_key: true
|
||||
|
||||
add_column :checks, :external_number, :string, null: true
|
||||
add_column :checks, :conformity_level, :integer, null: false, default: 0
|
||||
add_column :checks, :priority, :integer, null: false, default: 0
|
||||
add_column :checks, :conformity_level, :integer, null: true
|
||||
add_column :checks, :priority, :integer, null: true
|
||||
|
||||
add_column :checks, :manual_test, :boolean, null: false, default: true
|
||||
add_column :checks, :test_url, :string, null: true
|
||||
|
||||
add_column :checks, :external_url, :string, null: true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue