From fa1913282d50affa9be8cae7db34cd6964bde920 Mon Sep 17 00:00:00 2001
From: Damien Burel <damien.burel@maarch.org>
Date: Wed, 30 Dec 2015 13:49:23 +0000
Subject: [PATCH] FEAT #3223 Change table name

---
 core/trunk/core/core_tables.php | 2 +-
 core/trunk/sql/160.sql          | 2 +-
 core/trunk/sql/structure.sql    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/trunk/core/core_tables.php b/core/trunk/core/core_tables.php
index 7dd6088caec..74c86fafb49 100644
--- a/core/trunk/core/core_tables.php
+++ b/core/trunk/core/core_tables.php
@@ -111,7 +111,7 @@ if (! defined('USERS_TABLE')) {
     define('USERS_TABLE', 'users');
 }
 if (! defined('EMAIL_SIGNATURES_TABLE')) {
-    define('EMAIL_SIGNATURES_TABLE', 'email_signatures');
+    define('EMAIL_SIGNATURES_TABLE', 'users_email_signatures');
 }
 if (! defined('USER_BASKETS_SECONDARY_TABLE')) {
     define('USER_BASKETS_SECONDARY_TABLE', 'user_baskets_secondary');
diff --git a/core/trunk/sql/160.sql b/core/trunk/sql/160.sql
index a4d9f9dc1b9..e79fb4ee45e 100644
--- a/core/trunk/sql/160.sql
+++ b/core/trunk/sql/160.sql
@@ -153,7 +153,7 @@ CREATE SEQUENCE email_signatures_id_seq
   START 7
   CACHE 1;
 
-CREATE TABLE email_signatures
+CREATE TABLE users_email_signatures
 (
   id bigint NOT NULL DEFAULT nextval('email_signatures_id_seq'::regclass),
   user_id character varying(255) NOT NULL,
diff --git a/core/trunk/sql/structure.sql b/core/trunk/sql/structure.sql
index ed8ee5f34f8..b5554761044 100644
--- a/core/trunk/sql/structure.sql
+++ b/core/trunk/sql/structure.sql
@@ -921,7 +921,7 @@ CREATE SEQUENCE email_signatures_id_seq
   START 7
   CACHE 1;
 
-CREATE TABLE email_signatures
+CREATE TABLE users_email_signatures
 (
   id bigint NOT NULL DEFAULT nextval('email_signatures_id_seq'::regclass),
   user_id character varying(255) NOT NULL,
-- 
GitLab