chore(schema): +procedures#sva_svr
This commit is contained in:
parent
e2a9978c26
commit
bb4a6e22ce
4 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,7 @@
|
||||||
# published_at :datetime
|
# published_at :datetime
|
||||||
# routing_criteria_name :text default("Votre ville")
|
# routing_criteria_name :text default("Votre ville")
|
||||||
# routing_enabled :boolean
|
# routing_enabled :boolean
|
||||||
|
# sva_svr :jsonb not null
|
||||||
# tags :text default([]), is an Array
|
# tags :text default([]), is an Array
|
||||||
# unpublished_at :datetime
|
# unpublished_at :datetime
|
||||||
# web_hook_url :string
|
# web_hook_url :string
|
||||||
|
|
|
@ -15,6 +15,8 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||||
inflect.acronym 'JSON'
|
inflect.acronym 'JSON'
|
||||||
inflect.acronym 'RNA'
|
inflect.acronym 'RNA'
|
||||||
inflect.acronym 'URL'
|
inflect.acronym 'URL'
|
||||||
|
inflect.acronym 'SVA'
|
||||||
|
inflect.acronym 'SVR'
|
||||||
inflect.irregular 'type_de_champ', 'types_de_champ'
|
inflect.irregular 'type_de_champ', 'types_de_champ'
|
||||||
inflect.irregular 'type_de_champ_private', 'types_de_champ_private'
|
inflect.irregular 'type_de_champ_private', 'types_de_champ_private'
|
||||||
inflect.irregular 'procedure_revision_type_de_champ', 'procedure_revision_types_de_champ'
|
inflect.irregular 'procedure_revision_type_de_champ', 'procedure_revision_types_de_champ'
|
||||||
|
|
5
db/migrate/20230525130349_add_sva_svr_to_procedures.rb
Normal file
5
db/migrate/20230525130349_add_sva_svr_to_procedures.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class AddSVASVRToProcedures < ActiveRecord::Migration[7.0]
|
||||||
|
def change
|
||||||
|
add_column :procedures, :sva_svr, :jsonb, default: {}, null: false
|
||||||
|
end
|
||||||
|
end
|
|
@ -762,6 +762,7 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_29_102031) do
|
||||||
t.text "routing_criteria_name", default: "Votre ville"
|
t.text "routing_criteria_name", default: "Votre ville"
|
||||||
t.boolean "routing_enabled"
|
t.boolean "routing_enabled"
|
||||||
t.bigint "service_id"
|
t.bigint "service_id"
|
||||||
|
t.jsonb "sva_svr", default: {}, null: false
|
||||||
t.text "tags", default: [], array: true
|
t.text "tags", default: [], array: true
|
||||||
t.datetime "test_started_at", precision: 6
|
t.datetime "test_started_at", precision: 6
|
||||||
t.datetime "unpublished_at", precision: 6
|
t.datetime "unpublished_at", precision: 6
|
||||||
|
|
Loading…
Reference in a new issue