chore(schema): add label_logo label_direction to attestation_templates
This commit is contained in:
parent
84b8fe4b64
commit
e05565fe52
3 changed files with 10 additions and 0 deletions
|
@ -4,6 +4,8 @@ fr:
|
||||||
attestation_template: 'Attestation'
|
attestation_template: 'Attestation'
|
||||||
attributes:
|
attributes:
|
||||||
attestation_template:
|
attestation_template:
|
||||||
|
label_logo: Intitulé du logo Marianne
|
||||||
|
label_direction: Intitulé de la direction
|
||||||
title: Titre de l’attestation
|
title: Titre de l’attestation
|
||||||
body: Contenu de l’attestation
|
body: Contenu de l’attestation
|
||||||
footer: Pied de page
|
footer: Pied de page
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
class AddLabelsToAttestationTemplates < ActiveRecord::Migration[7.0]
|
||||||
|
def change
|
||||||
|
add_column :attestation_templates, :label_logo, :string, default: nil
|
||||||
|
add_column :attestation_templates, :label_direction, :string, default: nil
|
||||||
|
end
|
||||||
|
end
|
|
@ -150,6 +150,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_01_26_071130) do
|
||||||
t.datetime "created_at", precision: nil, null: false
|
t.datetime "created_at", precision: nil, null: false
|
||||||
t.text "footer"
|
t.text "footer"
|
||||||
t.jsonb "json_body"
|
t.jsonb "json_body"
|
||||||
|
t.string "label_direction"
|
||||||
|
t.string "label_logo"
|
||||||
t.integer "procedure_id"
|
t.integer "procedure_id"
|
||||||
t.text "title"
|
t.text "title"
|
||||||
t.datetime "updated_at", precision: nil, null: false
|
t.datetime "updated_at", precision: nil, null: false
|
||||||
|
|
Loading…
Add table
Reference in a new issue