Merge pull request 'Se agrega tabla STATUS_SOLICITUD_EXPRESO' (!209) from AL-4549 into master
Reviewed-on: utilidades/Flyway#209 Reviewed-by: fabio <fabio.faria@rjconsultores.com.br>master
commit
2948e9609d
2
pom.xml
2
pom.xml
|
@ -4,7 +4,7 @@
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>br.com.rjconsultores</groupId>
|
<groupId>br.com.rjconsultores</groupId>
|
||||||
<artifactId>Flyway</artifactId>
|
<artifactId>Flyway</artifactId>
|
||||||
<version>1.98.0</version>
|
<version>1.98.1</version>
|
||||||
|
|
||||||
<distributionManagement>
|
<distributionManagement>
|
||||||
<repository>
|
<repository>
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
-- CREATE TABLE/CREATE SEQUENCE
|
||||||
|
declare
|
||||||
|
object_exists exception;
|
||||||
|
pragma exception_init (object_exists , -00955);
|
||||||
|
begin
|
||||||
|
execute immediate 'CREATE TABLE "STATUS_SOLICITUD_EXPRESO" (
|
||||||
|
"STATUSSOLICITUDEXPRESO_ID" NUMBER(15, 0) NOT NULL PRIMARY KEY,
|
||||||
|
"DESCSTATUSSOLICITUDEXPRESO" VARCHAR2(30 BYTE),
|
||||||
|
"ACTIVO" NUMBER(1),
|
||||||
|
"FECMODIF" DATE,
|
||||||
|
"USUARIO_ID" NUMBER(7)
|
||||||
|
)';
|
||||||
|
exception when object_exists then null;
|
||||||
|
end;
|
Loading…
Reference in New Issue