diff --git a/src/db/migration/V20210630_1150__api27.sql b/src/db/migration/V20210630_1150__api27.sql new file mode 100644 index 000000000..705efdf02 --- /dev/null +++ b/src/db/migration/V20210630_1150__api27.sql @@ -0,0 +1,24 @@ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate + 'CREATE TABLE PARAMETROS_ECOMERCE ( + PARAMETROSECOMERCE_ID INTEGER NOT NULL PRIMARY KEY, + CHAVE VARCHAR2(100) NOT NULL, + VALOR VARCHAR2(100) NOT NULL, + ACTIVO INTEGER NOT NULL, + FECMODIF DATE NOT NULL + )'; + exception when object_exists then null; +end; +/ +declare + object_exists exception; + pragma exception_init (object_exists , -00955); +begin + execute immediate + 'CREATE SEQUENCE PARAMETROS_ECOMERCE_SEQ MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER NOCYCLE'; + exception when object_exists then null; +end; +/ \ No newline at end of file