mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
* NEW: import subscriptions * remove bad code * FIX: already declared property is not needed * Update subscription.class.php * FIX: change format to please php-stan * ENH: DolibarrModules::$import_convertvalue_array value format --------- Co-authored-by: Christophe Battarel <christophe@altairis.fr> Co-authored-by: Noé Cendrier <noe.cendrier@altairis.fr> Co-authored-by: Noé Cendrier <81741011+altairis-noe@users.noreply.github.com> Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
37 lines
1.6 KiB
SQL
37 lines
1.6 KiB
SQL
-- ===================================================================
|
|
-- Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
|
--
|
|
-- 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
|
|
-- the Free Software Foundation; either version 3 of the License, or
|
|
-- (at your option) any later version.
|
|
--
|
|
-- This program is distributed in the hope that it will be useful,
|
|
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
-- GNU General Public License for more details.
|
|
--
|
|
-- You should have received a copy of the GNU General Public License
|
|
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
--
|
|
-- ===================================================================
|
|
|
|
create table llx_subscription
|
|
(
|
|
rowid integer AUTO_INCREMENT PRIMARY KEY,
|
|
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
datec datetime,
|
|
fk_adherent integer,
|
|
fk_type integer,
|
|
dateadh datetime,
|
|
datef datetime,
|
|
subscription double(24,8),
|
|
fk_bank integer DEFAULT NULL, -- id of bank transaction in llx_bank
|
|
fk_user_creat integer DEFAULT NULL,
|
|
fk_user_valid integer DEFAULT NULL,
|
|
ref_ext varchar(128), -- reference into an external system (not used by dolibarr)
|
|
note text, -- public note
|
|
note_private text, -- private note
|
|
import_key varchar(14) -- Import key
|
|
)ENGINE=innodb;
|