Fix: SQL non portable

This commit is contained in:
Laurent Destailleur 2006-01-14 23:52:58 +00:00
parent 717bfaf0fb
commit 782a38d2be

View File

@ -1,6 +1,7 @@
-- ============================================================================ -- ============================================================================
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org> -- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
-- Copyright (C) 2005 Marc Barilley / Océbo <marc@ocebo.com> -- Copyright (C) 2005 Marc Barilley / Océbo <marc@ocebo.com>
-- Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
-- --
-- This program is free software; you can redistribute it and/or modify -- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by -- it under the terms of the GNU General Public License as published by
@ -18,15 +19,15 @@
-- --
-- $Id$ -- $Id$
-- $Source$ -- $Source$
--
-- =========================================================================== -- ===========================================================================
CREATE TABLE IF NOT EXISTS `llx_paiementfourn_facturefourn` ( create table llx_paiementfourn_facturefourn
`rowid` int(11) NOT NULL auto_increment, (
`fk_paiementfourn` int(11) default NULL, rowid integer AUTO_INCREMENT PRIMARY KEY,
`fk_facturefourn` int(11) default NULL, fk_paiementfourn int(11) default NULL,
`amount` double default '0', fk_facturefourn int(11) default NULL,
PRIMARY KEY (`rowid`), amount double default '0',
KEY `idx_fk_facture` (`fk_facturefourn`),
KEY `idx_fk_paiement` (`fk_paiementfourn`) KEY idx_fk_facture (fk_facturefourn),
KEY idx_fk_paiement (fk_paiementfourn)
) TYPE=innodb; ) TYPE=innodb;