A lot :)
This commit is contained in:
parent
aad67af0d1
commit
63fc206c27
153 changed files with 2043 additions and 646 deletions
26
db/migrate/20240820164827_finalize_check_fields.rb
Normal file
26
db/migrate/20240820164827_finalize_check_fields.rb
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
class FinalizeCheckFields < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :checks, :number, :integer
|
||||
add_index :checks, :number, unique: true
|
||||
|
||||
add_column :checks, :name_de, :string
|
||||
add_column :checks, :name_en, :string
|
||||
|
||||
add_column :checks, :visual, :boolean, null: false, default: false
|
||||
add_column :checks, :auditory, :boolean, null: false, default: false
|
||||
add_column :checks, :physical, :boolean, null: false, default: false
|
||||
add_column :checks, :cognitive, :boolean, null: false, default: false
|
||||
|
||||
add_column :checks, :applicable_to_web, :boolean, null: false, default: false
|
||||
add_column :checks, :applicable_to_app, :boolean, null: false, default: false
|
||||
|
||||
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, :manual_test, :boolean, null: false, default: true
|
||||
add_column :checks, :test_url, :string, null: true
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue