Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Eclipse Projects
Eclipse openK User Modules
org.eclipse.openk-usermodules.gridFailureInformation.backend
Commits
ac85b920
Commit
ac85b920
authored
Feb 14, 2020
by
dietricf
Browse files
Backend init
parent
c287f482
Changes
2
Hide whitespace changes
Inline
Side-by-side
gfsBackendService/src/main/resources/db/migration/V0_1__CREATE_GFI_DB.sql
View file @
ac85b920
...
...
@@ -16,7 +16,6 @@
-- NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;
-- ALTER ROLE GFI_SERVICE with password 'gfi_service';
DROP
TABLE
IF
EXISTS
public
.
VERSION
CASCADE
;
-- ---------------------------------------------
-- TABLE VERSION
-- ---------------------------------------------
...
...
gfsBackendService/src/main/resources/db/migration/V0_2__CREATE_GFI_DB.sql
0 → 100644
View file @
ac85b920
-----------------------------------------------------------------------------------
-- *******************************************************************************
-- * Copyright (c) 2019 Contributors to the Eclipse Foundation
-- *
-- * See the NOTICE file(s) distributed with this work for additional
-- * information regarding copyright ownership.
-- *
-- * This program and the accompanying materials are made available under the
-- * terms of the Eclipse Public License v. 2.0 which is available at
-- * http://www.eclipse.org/legal/epl-2.0.
-- *
-- * SPDX-License-Identifier: EPL-2.0
-- *******************************************************************************
-----------------------------------------------------------------------------------
-- CREATE ROLE GFI_SERVICE LOGIN
-- NOSUPERUSER INHERIT NOCREATEDB NOCREATEROLE NOREPLICATION;
-- ALTER ROLE GFI_SERVICE with password 'gfi_service';
DROP
TABLE
IF
EXISTS
public
.
VERSION
CASCADE
;
-- ---------------------------------------------
-- TABLE VERSION
-- ---------------------------------------------
CREATE
TABLE
public
.
VERSION
(
ID
integer
NOT
NULL
,
VERSION
character
varying
(
50
)
NOT
NULL
,
CONSTRAINT
REF_VERSION_PKEY
PRIMARY
KEY
(
id
)
);
ALTER
TABLE
public
.
VERSION
OWNER
TO
GFI_SERVICE
;
GRANT
ALL
ON
TABLE
public
.
VERSION
TO
GFI_SERVICE
;
INSERT
INTO
public
.
VERSION
(
ID
,
VERSION
)
VALUES
(
1
,
'00-DEV'
);
ALTER
TABLE
public
.
VERSION
OWNER
TO
GFI_SERVICE
;
GRANT
ALL
ON
TABLE
public
.
VERSION
TO
GFI_SERVICE
;
INSERT
INTO
public
.
VERSION
(
ID
,
VERSION
)
VALUES
(
1
,
'00-DEV'
);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment