Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
@@ -0,0 +1,34 @@
|
||||
-- $Id$
|
||||
-- $HeadURL$
|
||||
-- $Author$
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
-- INFO: Create db_version table for all existent DB schemas
|
||||
-- PROJECT: ALL
|
||||
-- DATE: 2021-02-10
|
||||
-- VERSION: 1.00
|
||||
-------------------------------------------------------------------------
|
||||
|
||||
-- GLOBAL: ALL;
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
COMMIT;
|
||||
|
||||
-- EXERCISE: ALL;
|
||||
BEGIN;
|
||||
CREATE TABLE IF NOT EXISTS db_version (
|
||||
id serial,
|
||||
description text,
|
||||
version text,
|
||||
updated bigint DEFAULT (extract(epoch from now()) * 1000),
|
||||
success boolean DEFAULT true,
|
||||
message text
|
||||
);
|
||||
COMMIT;
|
||||
Reference in new issue
Block a user