Standardize columns comment

This commit is contained in:
Laurent Destailleur 2020-10-08 10:13:44 +02:00
parent 688d915cca
commit 4674eda45a
16 changed files with 19 additions and 17 deletions

View File

@ -357,3 +357,5 @@ ALTER TABLE llx_website_page ADD COLUMN object_type varchar(255);
ALTER TABLE llx_website_page ADD COLUMN fk_object varchar(255);
DELETE FROM llx_const WHERE name in ('MAIN_INCLUDE_ZERO_VAT_IN_REPORTS');
ALTER TABLE llx_projet_task_time MODIFY COLUMN datec datetime;

View File

@ -45,7 +45,7 @@ CREATE TABLE llx_accounting_bookkeeping
fk_user_author integer NOT NULL, -- | user creating
fk_user_modif integer, -- | user making last change
date_creation datetime, -- FEC:EcritureDate | creation date
tms timestamp, -- | date last modification
tms timestamp, -- | last modification date
fk_user integer NULL, -- The id of user that validate the accounting source document
code_journal varchar(32) NOT NULL, -- FEC:JournalCode
journal_label varchar(255), -- FEC:JournalLib

View File

@ -44,7 +44,7 @@ CREATE TABLE llx_accounting_bookkeeping_tmp
fk_user_author integer NOT NULL, -- | user creating
fk_user_modif integer, -- | user making last change
date_creation datetime, -- FEC:EcritureDate | creation date
tms timestamp, -- | date last modification
tms timestamp, -- | last modification date
fk_user integer NULL, -- The id of user that validate the accounting source document
code_journal varchar(32) NOT NULL, -- FEC:JournalCode
journal_label varchar(255), -- FEC:JournalLib

View File

@ -33,7 +33,7 @@ create table llx_actioncomm
code varchar(50) NULL, -- code of action for automatic action ('AC_OTH_AUTO' for automatic actions, 'AC_EMAILIN_AUTO' for email input, 'AC_xxx' for manual action...)
datec datetime, -- date creation
tms timestamp, -- date modification
tms timestamp, -- last modification date
fk_user_author integer, -- user id of user that has created record
fk_user_mod integer, -- user id of user that has modified record

View File

@ -72,7 +72,7 @@ create table llx_adherent
model_pdf varchar(255),
datevalid datetime, -- date de validation
datec datetime, -- date de creation
tms timestamp, -- date de modification
tms timestamp, -- last modification date
fk_user_author integer, -- can be null because member can be create by a guest
fk_user_mod integer,
fk_user_valid integer,

View File

@ -32,7 +32,7 @@ create table llx_categorie
fk_soc integer DEFAULT NULL, -- not used by default. Used when option CATEGORY_ASSIGNED_TO_A_CUSTOMER is set.
visible tinyint DEFAULT 1 NOT NULL, -- determine if the products are visible or not
date_creation datetime, -- date creation
tms timestamp, -- date modification
tms timestamp, -- last modification date
fk_user_creat integer, -- user making creation
fk_user_modif integer, -- user making last change
import_key varchar(14) -- Import key

View File

@ -24,7 +24,7 @@
create table llx_events
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
tms timestamp, -- date creation/modification
tms timestamp, -- last modification date
type varchar(32) NOT NULL, -- action type
entity integer DEFAULT 1 NOT NULL, -- multi company id
prefix_session varchar(255) NULL, -- prefix of session, obtained with dol_getprefix

View File

@ -43,5 +43,5 @@ create table llx_extrafields
fk_user_author integer, -- user making creation
fk_user_modif integer, -- user making last change
datec datetime, -- date de creation
tms timestamp -- date of last update
tms timestamp -- last modification date
)ENGINE=innodb;

View File

@ -39,7 +39,7 @@ create table llx_facture
datef date, -- date invoice
date_pointoftax date DEFAULT NULL, -- date point of tax (for GB)
date_valid date, -- date validation
tms timestamp, -- date creation/modification
tms timestamp, -- last modification date
date_closing datetime, -- date de cloture
paye smallint DEFAULT 0 NOT NULL,
--amount double(24,8) DEFAULT 0 NOT NULL,

View File

@ -35,7 +35,7 @@ create table llx_facture_fourn
datef date, -- date de la facture
date_pointoftax date DEFAULT NULL, -- date point of tax (for GB)
date_valid date, -- date validation
tms timestamp, -- date creation/modification
tms timestamp, -- last modification date
libelle varchar(255),
paye smallint DEFAULT 0 NOT NULL,
amount double(24,8) DEFAULT 0 NOT NULL,

View File

@ -26,7 +26,7 @@ create table llx_facture_rec
entity integer DEFAULT 1 NOT NULL, -- multi company id
fk_soc integer NOT NULL,
datec datetime, -- date de creation
tms timestamp, -- date creation/modification
tms timestamp, -- last modification date
suspended integer DEFAULT 0, -- 1=suspended

View File

@ -25,7 +25,7 @@ create table llx_projet_task
fk_projet integer NOT NULL,
fk_task_parent integer DEFAULT 0 NOT NULL,
datec datetime, -- date creation
tms timestamp, -- date creation/modification
tms timestamp, -- last modification date
dateo datetime, -- date start task
datee datetime, -- date end task
datev datetime, -- date validation

View File

@ -29,7 +29,7 @@ create table llx_projet_task_time
invoice_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice id here
invoice_line_id integer DEFAULT NULL, -- If we need to invoice each line of timespent, we can save invoice line id here
import_key varchar(14), -- Import key
datec date, -- Date creation time
tms timestamp, -- Date update time
datec datetime, -- date creation time
tms timestamp, -- last modification date
note text -- A comment
)ENGINE=innodb;

View File

@ -22,7 +22,7 @@ CREATE TABLE llx_propal_merge_pdf_product (
fk_user_author integer DEFAULT NULL,
fk_user_mod integer NOT NULL,
datec datetime NOT NULL,
tms timestamp NOT NULL,
tms timestamp,
import_key varchar(14) DEFAULT NULL
) ENGINE=innodb;

View File

@ -21,7 +21,7 @@ create table llx_societe_address
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
datec datetime, -- creation date
tms timestamp, -- modification date
tms timestamp, -- last modification date
label varchar(30), --
fk_soc integer DEFAULT 0, --
name varchar(60), -- company name

View File

@ -22,8 +22,8 @@ CREATE TABLE llx_zapier_hook(
module varchar(128),
action varchar(128),
status integer,
date_creation DATETIME NOT NULL,
date_creation datetime NOT NULL,
fk_user integer NOT NULL,
tms TIMESTAMP NOT NULL,
tms timestamp,
import_key varchar(14)
) ENGINE=innodb;