zet-lib 1.2.67 → 1.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/zGeneratorRouter.js +3 -0
- package/package.json +1 -1
package/lib/zGeneratorRouter.js
CHANGED
|
@@ -297,6 +297,9 @@ const generate = async (req, res) => {
|
|
|
297
297
|
CREATE TABLE ${table} (
|
|
298
298
|
id BIGSERIAL PRIMARY KEY,
|
|
299
299
|
company_id BIGINT NOT NULL,
|
|
300
|
+
lock smallint default 0,
|
|
301
|
+
approval_status smallint DEFAULT 1,
|
|
302
|
+
approval_history jsonb[] DEFAULT NULL,
|
|
300
303
|
updated_by BIGINT DEFAULT NULL,
|
|
301
304
|
created_by BIGINT DEFAULT NULL,
|
|
302
305
|
created_at TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_TIMESTAMP,
|