drop audit fields for office tables, update api-docs, update DDL and schemas.
This commit is contained in:
@@ -165,10 +165,6 @@ CREATE TABLE `m_office` (
|
||||
`external_id` varchar(100) DEFAULT NULL,
|
||||
`name` varchar(50) NOT NULL,
|
||||
`opening_date` date NOT NULL,
|
||||
`createdby_id` bigint(20) DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`lastmodified_date` datetime DEFAULT NULL,
|
||||
`lastmodifiedby_id` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `name_org` (`name`),
|
||||
UNIQUE KEY `externalid_org` (`external_id`),
|
||||
@@ -185,10 +181,6 @@ CREATE TABLE `m_office_transaction` (
|
||||
`transaction_amount` decimal(19,6) NOT NULL,
|
||||
`transaction_date` date NOT NULL,
|
||||
`description` varchar(100) DEFAULT NULL,
|
||||
`created_date` datetime DEFAULT NULL,
|
||||
`createdby_id` bigint(20) DEFAULT NULL,
|
||||
`lastmodified_date` datetime DEFAULT NULL,
|
||||
`lastmodifiedby_id` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `FK1E37728B93C6C1B6` (`to_office_id`),
|
||||
KEY `FK1E37728B783C5C25` (`from_office_id`),
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,11 @@
|
||||
ALTER TABLE `m_office`
|
||||
DROP COLUMN `lastmodifiedby_id` ,
|
||||
DROP COLUMN `lastmodified_date` ,
|
||||
DROP COLUMN `created_date`,
|
||||
DROP COLUMN `createdby_id`;
|
||||
|
||||
ALTER TABLE `m_office_transaction`
|
||||
DROP COLUMN `lastmodifiedby_id` ,
|
||||
DROP COLUMN `lastmodified_date` ,
|
||||
DROP COLUMN `created_date`,
|
||||
DROP COLUMN `createdby_id`;
|
||||
Reference in New Issue
Block a user