chore(schema): add label_logo label_direction to attestation_templates

This commit is contained in:
Colin Darie 2023-12-19 12:51:59 +01:00
parent 84b8fe4b64
commit e05565fe52
No known key found for this signature in database
GPG key ID: 8C76CADD40253590
3 changed files with 10 additions and 0 deletions

View file

@ -4,6 +4,8 @@ fr:
attestation_template: 'Attestation'
attributes:
attestation_template:
label_logo: Intitulé du logo Marianne
label_direction: Intitulé de la direction
title: Titre de lattestation
body: Contenu de lattestation
footer: Pied de page

View file

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

View file

@ -150,6 +150,8 @@ ActiveRecord::Schema[7.0].define(version: 2024_01_26_071130) do
t.datetime "created_at", precision: nil, null: false
t.text "footer"
t.jsonb "json_body"
t.string "label_direction"
t.string "label_logo"
t.integer "procedure_id"
t.text "title"
t.datetime "updated_at", precision: nil, null: false