Finalize check fields
Some checks failed
/ Run tests (push) Failing after 4m20s
/ Build, push and deploy image (push) Has been skipped
/ Run system tests (push) Has been cancelled

This commit is contained in:
david 2024-09-11 20:44:33 +02:00
parent 63fc206c27
commit 174cf9f503
12 changed files with 73 additions and 34 deletions

View file

@ -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