From a6809c486bf1aa2e0ae082d383570ee4542a1beb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Gaya?= <sebastien.gaya@gmail.com>
Date: Thu, 15 Feb 2024 11:31:08 +0100
Subject: [PATCH] fix website title

---
 .../websites/configs/default_languages/static.html.erb        | 3 ++-
 db/schema.rb                                                  | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/app/views/admin/communication/websites/configs/default_languages/static.html.erb b/app/views/admin/communication/websites/configs/default_languages/static.html.erb
index ba583bb05..dac99afa2 100644
--- a/app/views/admin/communication/websites/configs/default_languages/static.html.erb
+++ b/app/views/admin/communication/websites/configs/default_languages/static.html.erb
@@ -7,7 +7,8 @@
                                                     : localization.to_s
 %>
 <%= language.iso_code %>:
-  title: <%= title %>
+  title: >-
+    <%= title %>
   contentDir: content/<%= language.iso_code %>
   languageCode: <%= language.iso_code %>
   languageName: <%= language.name %>
diff --git a/db/schema.rb b/db/schema.rb
index b762c688f..123d12852 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -140,8 +140,8 @@ ActiveRecord::Schema[7.1].define(version: 2024_02_12_105952) do
     t.datetime "updated_at", null: false
     t.string "title"
     t.boolean "published", default: true
-    t.uuid "communication_website_id"
     t.uuid "heading_id"
+    t.uuid "communication_website_id"
     t.string "migration_identifier"
     t.index ["about_type", "about_id"], name: "index_communication_website_blocks_on_about"
     t.index ["communication_website_id"], name: "index_communication_blocks_on_communication_website_id"
@@ -457,7 +457,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_02_12_105952) do
     t.index ["university_id"], name: "index_communication_website_pages_on_university_id"
   end
 
-  create_table "communication_website_permalinks", id: :uuid, default: -> { "gen_random_uuid()" }, force: :cascade do |t|
+  create_table "communication_website_permalinks", id: :uuid, default: -> { "public.gen_random_uuid()" }, force: :cascade do |t|
     t.uuid "university_id", null: false
     t.uuid "website_id", null: false
     t.string "about_type", null: false
-- 
GitLab