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

31 lines
1.1 KiB
MySQL
Raw Normal View History

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