9 lines
448 B
SQL
9 lines
448 B
SQL
CREATE OR REPLACE TABLE vn.ledgerCompany (
|
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`fiscalYear` int(10) unsigned NOT NULL COMMENT 'Año del ejercicio contable',
|
|
`bookEntry` int(10) unsigned NOT NULL DEFAULT 1 COMMENT 'Contador asiento contable',
|
|
PRIMARY KEY (`id`),
|
|
UNIQUE KEY `ledgerCompany_unique` (`fiscalYear`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci
|
|
COMMENT='Contador para asientos contables';
|
|
|