From 046fe2c58ce7864705885f2055f9c566637a6a91 Mon Sep 17 00:00:00 2001
From: Rodolphe Quiedeville <rodolphe@quiedeville.org>
Date: Tue, 30 Aug 2005 08:29:29 +0000
Subject: [PATCH] Ajout du champs fk_user_creat et d'un index sur fk_user

---
 htdocs/telephonie/sql/llx_telephonie_tarif_grille_rights.sql | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/htdocs/telephonie/sql/llx_telephonie_tarif_grille_rights.sql b/htdocs/telephonie/sql/llx_telephonie_tarif_grille_rights.sql
index 6c60ace9fb2..9ba54b21647 100644
--- a/htdocs/telephonie/sql/llx_telephonie_tarif_grille_rights.sql
+++ b/htdocs/telephonie/sql/llx_telephonie_tarif_grille_rights.sql
@@ -26,6 +26,8 @@ create table llx_telephonie_tarif_grille_rights (
   fk_grille      integer NOT NULL,
   fk_user        integer NOT NULL,
   pread          smallint DEFAULT 0,
-  pwrite         smallint DEFAULT 0
+  pwrite         smallint DEFAULT 0,
+  fk_user_creat  integer NOT NULL,
 
+  key (fk_user)
 )type=innodb;
-- 
GitLab