Add table for email templates.
Removed deprecated table llx_domain.
This commit is contained in:
parent
caf6712286
commit
002e64d514
@ -18,6 +18,18 @@
|
|||||||
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
|
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
create table llx_c_email_templates
|
||||||
|
(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
|
type_template varchar(32), -- template for wich type of email (send invoice by email, send order, ...)
|
||||||
|
datec datetime,
|
||||||
|
label varchar(255),
|
||||||
|
content text
|
||||||
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
|
||||||
-- delete foreign key that should never exists
|
-- delete foreign key that should never exists
|
||||||
ALTER TABLE llx_propal DROP FOREIGN KEY fk_propal_fk_currency;
|
ALTER TABLE llx_propal DROP FOREIGN KEY fk_propal_fk_currency;
|
||||||
ALTER TABLE llx_commande DROP FOREIGN KEY fk_commande_fk_currency;
|
ALTER TABLE llx_commande DROP FOREIGN KEY fk_commande_fk_currency;
|
||||||
|
|||||||
@ -14,13 +14,15 @@
|
|||||||
-- You should have received a copy of the GNU General Public License
|
-- You should have received a copy of the GNU General Public License
|
||||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
--
|
--
|
||||||
|
-- Table with templates of emails
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_domain
|
create table llx_c_email_templates
|
||||||
(
|
(
|
||||||
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
||||||
|
entity integer DEFAULT 1 NOT NULL, -- multi company id
|
||||||
|
type_template varchar(32), -- template for wich type of email (send invoice by email, send order, ...)
|
||||||
datec datetime,
|
datec datetime,
|
||||||
label varchar(255),
|
label varchar(255),
|
||||||
note text
|
content text
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
@ -17,7 +17,7 @@
|
|||||||
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
--
|
--
|
||||||
--
|
--
|
||||||
-- Liste des modeles de document disponibles
|
-- Table with list of document templates for document generation (odt/pdf/...)
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
||||||
create table llx_document_model
|
create table llx_document_model
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user