dolibarr/htdocs/modulebuilder/template/sql/llx_mymodule_myobject.sql

31 lines
1.1 KiB
MySQL
Raw Normal View History

2017-06-27 20:14:48 +02:00
-- Copyright (C) ---Put here your own copyright and developer email---
2017-05-08 21:00:23 +02:00
--
-- 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
2019-09-23 21:55:30 +02:00
-- along with this program. If not, see https://www.gnu.org/licenses/.
2017-05-08 21:00:23 +02:00
2017-07-12 01:55:07 +02:00
CREATE TABLE llx_mymodule_myobject(
2017-07-12 01:55:07 +02:00
-- BEGIN MODULEBUILDER FIELDS
2017-09-05 22:33:55 +02:00
rowid INTEGER AUTO_INCREMENT PRIMARY KEY,
2017-05-08 21:00:23 +02:00
entity INTEGER DEFAULT 1 NOT NULL,
2017-07-12 01:55:07 +02:00
label VARCHAR(255),
2017-07-24 13:55:12 +02:00
qty INTEGER,
date_creation DATETIME NOT NULL,
tms TIMESTAMP,
2020-04-05 03:59:23 +02:00
fk_user_create INTEGER,
fk_user_modif INTEGER,
status INTEGER,
2017-07-24 13:55:12 +02:00
import_key VARCHAR(14)
2017-07-12 01:55:07 +02:00
-- END MODULEBUILDER FIELDS
2019-09-23 21:55:30 +02:00
) ENGINE=innodb;