From cd809ddc764e37694e93334489b2c47b90bf3e92 Mon Sep 17 00:00:00 2001 From: alberto Date: Tue, 13 Mar 2018 17:51:02 +0000 Subject: [PATCH] =?UTF-8?q?Dados=20de=20altera=C3=A7=C3=A3o=20de=20servi?= =?UTF-8?q?=C3=A7os=20(issue=2010625)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/BD/FlyWay/trunk@79861 d1611594-4594-4d17-8e1d-87c2c4800839 --- .../migration/V20180313_1445__mantis10625.sql | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/db/migration/V20180313_1445__mantis10625.sql diff --git a/src/db/migration/V20180313_1445__mantis10625.sql b/src/db/migration/V20180313_1445__mantis10625.sql new file mode 100644 index 000000000..7dad86b81 --- /dev/null +++ b/src/db/migration/V20180313_1445__mantis10625.sql @@ -0,0 +1,18 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate + 'CREATE TABLE AUDITORIA_CHAVE + ( + CHAVE_ID NUMBER(15) NOT NULL, + CHAVE VARCHAR2(100), + VALOR VARCHAR2(100), + PRIMARY KEY (CHAVE_ID) + )'; + + execute immediate + 'CREATE SEQUENCE CHAVE_SEQ INCREMENT BY 1 START WITH 1 NOCACHE ORDER NOCYCLE'; + + exception when object_exists then null; +end;