--------------------------------------------------------
--  File created - Tuesday-May-28-2013   
--------------------------------------------------------
DROP TABLE "INTERFAZCONTAB"."AUTH_GROUP" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."AUTH_USER" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."DJANGO_SESSION" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."DJANGO_SITE" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_ASIENTO" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_CAMPO" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_CONCEPTO" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_CONEXION" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_GRUPO" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_MODULO" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_TABLA" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_TRANSACCION" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_WORKFLOW" cascade constraints;
DROP TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" cascade constraints;
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_GROUP_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_PERMISSION_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_USER_GROUPS_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_USER_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."DJANGO_SITE_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_ACTIVIDAD_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_ASIENTO_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_CAMPO_CUENTA_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_CAMPO_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_CONCEPTO_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_CONEXION_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_GRUPO_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_MODULO_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_TABLA_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_TRANSACCION_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_WORKFLOW_SQ";
DROP SEQUENCE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_SQ";
--------------------------------------------------------
--  DDL for Sequence AUTH_GROUP_PERMISSIONS_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence AUTH_GROUP_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_GROUP_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence AUTH_PERMISSION_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_PERMISSION_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 352 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence AUTH_USER_GROUPS_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_USER_GROUPS_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence AUTH_USER_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_USER_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 7 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence AUTH_USER_USER_PERMISSIONS_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 1 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence DJANGO_ADMIN_LOG_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 5 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence DJANGO_CONTENT_TYPE_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 118 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence DJANGO_SITE_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."DJANGO_SITE_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 6 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_ACTIVIDAD_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_ACTIVIDAD_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 44 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_ASIENTO_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_ASIENTO_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 77 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_CAMPO_CUENTA_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_CAMPO_CUENTA_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 85 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_CAMPO_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_CAMPO_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 47 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_CONCEPTO_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_CONCEPTO_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 95 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_CONEXION_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_CONEXION_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 51 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_GRUPO_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_GRUPO_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 45 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_MODULO_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_MODULO_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 54 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_REL_ACTIVIDAD_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 39 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_TABLA_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_TABLA_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 57 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_TRANSACCION_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_TRANSACCION_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 58 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_WORKFLOW_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_WORKFLOW_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 61 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Sequence IC_WORKFLOW_TRANSACCION_SQ
--------------------------------------------------------

   CREATE SEQUENCE  "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_SQ"  MINVALUE 1 MAXVALUE 9999999999999999999999999999 INCREMENT BY 1 START WITH 26 CACHE 20 NOORDER  NOCYCLE ;
--------------------------------------------------------
--  DDL for Table AUTH_GROUP
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_GROUP" 
   (	"ID" NUMBER(11,0), 
	"NAME" NVARCHAR2(80)
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table AUTH_GROUP_PERMISSIONS
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" 
   (	"ID" NUMBER(11,0), 
	"GROUP_ID" NUMBER(11,0), 
	"PERMISSION_ID" NUMBER(11,0)
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table AUTH_PERMISSION
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" 
   (	"ID" NUMBER(11,0), 
	"NAME" NVARCHAR2(50), 
	"CONTENT_TYPE_ID" NUMBER(11,0), 
	"CODENAME" NVARCHAR2(100)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table AUTH_USER
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_USER" 
   (	"ID" NUMBER(11,0), 
	"USERNAME" NVARCHAR2(30), 
	"FIRST_NAME" NVARCHAR2(30), 
	"LAST_NAME" NVARCHAR2(30), 
	"EMAIL" NVARCHAR2(75), 
	"PASSWORD" NVARCHAR2(128), 
	"IS_STAFF" NUMBER(1,0), 
	"IS_ACTIVE" NUMBER(1,0), 
	"IS_SUPERUSER" NUMBER(1,0), 
	"LAST_LOGIN" TIMESTAMP (6), 
	"DATE_JOINED" TIMESTAMP (6)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table AUTH_USER_GROUPS
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" 
   (	"ID" NUMBER(11,0), 
	"USER_ID" NUMBER(11,0), 
	"GROUP_ID" NUMBER(11,0)
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table AUTH_USER_USER_PERMISSIONS
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" 
   (	"ID" NUMBER(11,0), 
	"USER_ID" NUMBER(11,0), 
	"PERMISSION_ID" NUMBER(11,0)
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table DJANGO_ADMIN_LOG
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" 
   (	"ID" NUMBER(11,0), 
	"ACTION_TIME" TIMESTAMP (6), 
	"USER_ID" NUMBER(11,0), 
	"CONTENT_TYPE_ID" NUMBER(11,0), 
	"OBJECT_ID" NCLOB, 
	"OBJECT_REPR" NVARCHAR2(200), 
	"ACTION_FLAG" NUMBER(11,0), 
	"CHANGE_MESSAGE" NCLOB
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" 
 LOB ("OBJECT_ID") STORE AS BASICFILE (
  TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION 
  NOCACHE LOGGING ) 
 LOB ("CHANGE_MESSAGE") STORE AS BASICFILE (
  TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION 
  NOCACHE LOGGING ) ;
--------------------------------------------------------
--  DDL for Table DJANGO_CONTENT_TYPE
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" 
   (	"ID" NUMBER(11,0), 
	"NAME" NVARCHAR2(100), 
	"APP_LABEL" NVARCHAR2(100), 
	"MODEL" NVARCHAR2(100)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table DJANGO_SESSION
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."DJANGO_SESSION" 
   (	"SESSION_KEY" NVARCHAR2(40), 
	"SESSION_DATA" NCLOB, 
	"EXPIRE_DATE" TIMESTAMP (6)
   ) SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  TABLESPACE "USERS" 
 LOB ("SESSION_DATA") STORE AS BASICFILE (
  TABLESPACE "USERS" ENABLE STORAGE IN ROW CHUNK 8192 RETENTION 
  NOCACHE LOGGING ) ;
--------------------------------------------------------
--  DDL for Table DJANGO_SITE
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."DJANGO_SITE" 
   (	"ID" NUMBER(11,0), 
	"DOMAIN" NVARCHAR2(100), 
	"NAME" NVARCHAR2(50)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_ACTIVIDAD
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" 
   (	"ID_ACTIVIDAD" NUMBER(11,0), 
	"ID_MODULO_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"PROGRAMA" NVARCHAR2(2000)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_ASIENTO
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_ASIENTO" 
   (	"ID_ASIENTO" NUMBER(11,0), 
	"ID_CONCEPTO_ID" NUMBER(11,0), 
	"ID_CAMPO_VALOR_ID" NUMBER(11,0), 
	"ID_GRUPO_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"CATALOGO" NVARCHAR2(100), 
	"AUXILIAR" NVARCHAR2(100), 
	"NATURALEZA" NVARCHAR2(1), 
	"USA_GRUPO" NUMBER(11,0), 
	"FORMULA" VARCHAR2(200 BYTE)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_CAMPO
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_CAMPO" 
   (	"ID_CAMPO_VALOR" NUMBER(11,0), 
	"ID_TABLA_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_CAMPO_CUENTA
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" 
   (	"ID_CAMPO_CUENTA" NUMBER(11,0), 
	"ID_GRUPO_ID" NUMBER(11,0), 
	"CATALOGO" NVARCHAR2(100), 
	"AUXILIAR" NVARCHAR2(100), 
	"VALOR" NVARCHAR2(100), 
	"VALOR_DESCRIPCION" VARCHAR2(200 BYTE)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_CONCEPTO
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_CONCEPTO" 
   (	"ID_CONCEPTO" NUMBER(11,0), 
	"ID_TRANSACCION_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"ID_TIPO_DOCUMENTO" NUMBER(11,0)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_CONEXION
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_CONEXION" 
   (	"ID_CONEXION" NUMBER(11,0), 
	"DESCRIPCION" NVARCHAR2(200), 
	"SID" NVARCHAR2(50), 
	"USERNAME" NVARCHAR2(50), 
	"PASSWORD" NVARCHAR2(50), 
	"PUERTO" NUMBER(11,0), 
	"HOST" NVARCHAR2(200)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_GRUPO
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_GRUPO" 
   (	"ID_GRUPO" NUMBER(11,0), 
	"ID_TABLA_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(50), 
	"TABLA" NVARCHAR2(50), 
	"CAMPO" NVARCHAR2(50), 
	"DESCRIPCION" VARCHAR2(200 BYTE)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_MODULO
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_MODULO" 
   (	"ID_MODULO" NUMBER(11,0), 
	"ID_CONEXION_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(2000)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_REL_ACTIVIDAD
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" 
   (	"ID_REL_ACTIVIDAD" NUMBER(11,0), 
	"ID_ACTIVIDAD_PADRE_ID" NUMBER(11,0), 
	"ID_ACTIVIDAD_HIJO_ID" NUMBER(11,0), 
	"ID_WORKFLOW_ID" NUMBER(11,0)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_TABLA
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_TABLA" 
   (	"ID_TABLA" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"ID_CONEXION_ID" NUMBER(11,0)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_TRANSACCION
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_TRANSACCION" 
   (	"ID_TRANSACCION" NUMBER(11,0), 
	"ID_MODULO_ID" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"ID_TIPO_COMPROBANTE" NUMBER(11,0)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_WORKFLOW
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_WORKFLOW" 
   (	"ID_WORKFLOW" NUMBER(11,0), 
	"BATCH" NUMBER(11,0), 
	"NOMBRE" NVARCHAR2(100), 
	"DESCRIPCION" NVARCHAR2(200), 
	"JSON" NVARCHAR2(2000)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Table IC_WORKFLOW_TRANSACCION
--------------------------------------------------------

  CREATE TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" 
   (	"ID_WORKFLOW_TRANSACCION" NUMBER(11,0), 
	"ID_WORKFLOW_ID" NUMBER(11,0), 
	"ID_TRANSACCION_ID" NUMBER(11,0)
   ) SEGMENT CREATION IMMEDIATE 
  PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
REM INSERTING into INTERFAZCONTAB.AUTH_GROUP
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.AUTH_GROUP_PERMISSIONS
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.AUTH_PERMISSION
SET DEFINE OFF;
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (292,'Can add permission',98,'add_permission');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (293,'Can change permission',98,'change_permission');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (294,'Can delete permission',98,'delete_permission');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (295,'Can add group',99,'add_group');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (296,'Can change group',99,'change_group');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (297,'Can delete group',99,'delete_group');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (298,'Can add user',100,'add_user');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (299,'Can change user',100,'change_user');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (300,'Can delete user',100,'delete_user');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (301,'Can add content type',101,'add_contenttype');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (302,'Can change content type',101,'change_contenttype');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (303,'Can delete content type',101,'delete_contenttype');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (304,'Can add session',102,'add_session');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (305,'Can change session',102,'change_session');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (306,'Can delete session',102,'delete_session');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (307,'Can add site',103,'add_site');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (308,'Can change site',103,'change_site');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (309,'Can delete site',103,'delete_site');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (310,'Can add log entry',104,'add_logentry');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (311,'Can change log entry',104,'change_logentry');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (312,'Can delete log entry',104,'delete_logentry');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (313,'Can add asiento',105,'add_asiento');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (314,'Can change asiento',105,'change_asiento');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (315,'Can delete asiento',105,'delete_asiento');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (316,'Can add actividad',106,'add_actividad');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (317,'Can change actividad',106,'change_actividad');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (318,'Can delete actividad',106,'delete_actividad');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (319,'Can add campo_ cuenta',107,'add_campo_cuenta');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (320,'Can change campo_ cuenta',107,'change_campo_cuenta');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (321,'Can delete campo_ cuenta',107,'delete_campo_cuenta');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (322,'Can add campo_ valor',108,'add_campo_valor');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (323,'Can change campo_ valor',108,'change_campo_valor');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (324,'Can delete campo_ valor',108,'delete_campo_valor');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (325,'Can add concepto',109,'add_concepto');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (326,'Can change concepto',109,'change_concepto');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (327,'Can delete concepto',109,'delete_concepto');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (328,'Can add conexion',110,'add_conexion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (329,'Can change conexion',110,'change_conexion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (330,'Can delete conexion',110,'delete_conexion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (331,'Can add grupo',111,'add_grupo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (332,'Can change grupo',111,'change_grupo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (333,'Can delete grupo',111,'delete_grupo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (334,'Can add modulo',112,'add_modulo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (335,'Can change modulo',112,'change_modulo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (336,'Can delete modulo',112,'delete_modulo');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (337,'Can add tabla',113,'add_tabla');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (338,'Can change tabla',113,'change_tabla');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (339,'Can delete tabla',113,'delete_tabla');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (340,'Can add transaccion',114,'add_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (341,'Can change transaccion',114,'change_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (342,'Can delete transaccion',114,'delete_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (343,'Can add workflow',115,'add_workflow');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (344,'Can change workflow',115,'change_workflow');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (345,'Can delete workflow',115,'delete_workflow');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (346,'Can add workflow_ transaccion',116,'add_workflow_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (347,'Can change workflow_ transaccion',116,'change_workflow_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (348,'Can delete workflow_ transaccion',116,'delete_workflow_transaccion');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (349,'Can add rel_ actividad',117,'add_rel_actividad');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (350,'Can change rel_ actividad',117,'change_rel_actividad');
Insert into INTERFAZCONTAB.AUTH_PERMISSION (ID,NAME,CONTENT_TYPE_ID,CODENAME) values (351,'Can delete rel_ actividad',117,'delete_rel_actividad');
REM INSERTING into INTERFAZCONTAB.AUTH_USER
SET DEFINE OFF;
Insert into INTERFAZCONTAB.AUTH_USER (ID,USERNAME,FIRST_NAME,LAST_NAME,EMAIL,PASSWORD,IS_STAFF,IS_ACTIVE,IS_SUPERUSER,LAST_LOGIN,DATE_JOINED) values (6,'sofhouse',null,null,'egiraldo@sofhouse.net','pbkdf2_sha256$10000$GpMjtzm8xsFV$Xxwu+5odWEMi70gwYpbFilELLGdlOiTYwe2M3Lu+xNI=',1,1,1,to_timestamp('24-APR-13 08.25.59.270597000 PM','DD-MON-RR HH.MI.SS.FF AM'),to_timestamp('24-APR-13 08.25.59.270597000 PM','DD-MON-RR HH.MI.SS.FF AM'));
REM INSERTING into INTERFAZCONTAB.AUTH_USER_GROUPS
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.AUTH_USER_USER_PERMISSIONS
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.DJANGO_ADMIN_LOG
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.DJANGO_CONTENT_TYPE
SET DEFINE OFF;
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (98,'permission','auth','permission');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (99,'group','auth','group');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (100,'user','auth','user');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (101,'content type','contenttypes','contenttype');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (102,'session','sessions','session');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (103,'site','sites','site');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (104,'log entry','admin','logentry');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (105,'asiento','asientos','asiento');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (106,'actividad','actividades','actividad');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (107,'campo_ cuenta','campo_cuenta','campo_cuenta');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (108,'campo_ valor','campo_valor','campo_valor');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (109,'concepto','conceptos','concepto');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (110,'conexion','conexiones','conexion');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (111,'grupo','grupos','grupo');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (112,'modulo','modulos','modulo');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (113,'tabla','tablas','tabla');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (114,'transaccion','transacciones','transaccion');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (115,'workflow','workflow','workflow');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (116,'workflow_ transaccion','workflow_transaccion','workflow_transaccion');
Insert into INTERFAZCONTAB.DJANGO_CONTENT_TYPE (ID,NAME,APP_LABEL,MODEL) values (117,'rel_ actividad','rel_actividad','rel_actividad');
REM INSERTING into INTERFAZCONTAB.DJANGO_SESSION
SET DEFINE OFF;
REM INSERTING into INTERFAZCONTAB.DJANGO_SITE
SET DEFINE OFF;
Insert into INTERFAZCONTAB.DJANGO_SITE (ID,DOMAIN,NAME) values (1,'example.com','example.com');
REM INSERTING into INTERFAZCONTAB.IC_ACTIVIDAD
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (40,51,'ejecutarMovimientosTesoreria','Ejecuta Movimientos Contables Tesoreria','ejecutarMovTesoreria()');
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (0,51,'Actividad Base','Actividad Base',null);
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (39,51,'cargarIniciales','Carga Conexiones Tesoreria','cargarIni()');
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (41,51,'devuelveResultados','Devuelve los resultados del proceso','retornaResul()');
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (43,53,'ejecutarMovimientosVentasPos','Ejecuta Movimientos Contables Ventas POS','ejecutarMovVentasPOS()');
Insert into INTERFAZCONTAB.IC_ACTIVIDAD (ID_ACTIVIDAD,ID_MODULO_ID,NOMBRE,DESCRIPCION,PROGRAMA) values (42,53,'cargarIniciales','Cargar Conexiones Cartera','cargarIni()');
REM INSERTING into INTERFAZCONTAB.IC_ASIENTO
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (32,87,37,null,'CONSIGNACION TESORAL','CONSIGNACION TESORAL','470508','001','C',0,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (42,92,37,null,'NC SEGUN EXTRACTO','NC SEGUN EXTRACTO','199501','000','C',0,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (39,91,37,41,'CONSIGNACION DE CAJA','CONSIGNACION DE CAJA',null,null,'D',1,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (40,91,37,null,'CONSIGNACION DE CAJA','CONSIGNACION DE CAJA','199506','001','C',0,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (41,92,37,41,'NC SEGUN EXTRACTO','NC SEGUN EXTRACTO',null,null,'D',1,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (47,94,42,null,'IVA','VALOR TOTAL IVA','244502',null,'C',0,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (48,94,46,41,'FORMA DE PAGO BANCOS',null,null,null,'D',1,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (31,87,37,41,'CONSIGNACION TESORAL','CONSIGNACION TESORAL','BANCOS',null,'D',1,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (50,94,46,44,'FORMA DE  PAGO SIN BANCOS','FORMA DE PAGO SIN AFECTAR BANCOS',null,null,'D',1,null);
Insert into INTERFAZCONTAB.IC_ASIENTO (ID_ASIENTO,ID_CONCEPTO_ID,ID_CAMPO_VALOR_ID,ID_GRUPO_ID,NOMBRE,DESCRIPCION,CATALOGO,AUXILIAR,NATURALEZA,USA_GRUPO,FORMULA) values (49,94,44,43,'PRODUCTOS','DETALLE PRODUCTOS POR FACTURA',null,null,'C',1,'$44-$45');
REM INSERTING into INTERFAZCONTAB.IC_CAMPO
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (44,54,'VALOR_UNI_TOTAL','VALOR PARCIAL DETALLE PRODUCTOS INCLUIDO IVA');
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (42,53,'VALOR_IVA','VALOR IVA TOTAL FACTURA');
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (43,53,'VALOR_TOTAL','VALOR TOTAL FACTURA');
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (45,54,'VALOR_UNI_IVA','VALOR PARCIAL IVA POR DETALLE DE PRODUCTO');
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (46,55,'VALOR','VALOR POR DETALLE DE PAGO FACTURA POS');
Insert into INTERFAZCONTAB.IC_CAMPO (ID_CAMPO_VALOR,ID_TABLA_ID,NOMBRE,DESCRIPCION) values (37,49,'VALOR','VALOR NUMÉRICO');
REM INSERTING into INTERFAZCONTAB.IC_CAMPO_CUENTA
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (71,41,'111006','001','000021980',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (73,41,'111005','003','457869995458',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (74,42,'243601',null,'01',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (76,42,'243603',null,'03',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (81,43,'420401','017','1735','REPORTE GRAFICO MAS DE 1000 HS Y HASTA 5000 HS');
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (83,44,'481047',null,'13','MAYOR VALOR PAGADO');
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (70,41,'111005','001','000021998',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (72,41,'111005','002','810604010',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (75,42,'263602',null,'02',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (77,42,'243604',null,'04',null);
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (80,43,'420401','015','1761','CERTIFICADO DE REGISTRO MINERO');
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (82,43,'420401','015','1944','CERTIFICADO DE ESTADO DE TRAMITE');
Insert into INTERFAZCONTAB.IC_CAMPO_CUENTA (ID_CAMPO_CUENTA,ID_GRUPO_ID,CATALOGO,AUXILIAR,VALOR,VALOR_DESCRIPCION) values (84,44,'481047',null,'14','MENOR VALOR PAGADO');
REM INSERTING into INTERFAZCONTAB.IC_CONCEPTO
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_CONCEPTO (ID_CONCEPTO,ID_TRANSACCION_ID,NOMBRE,DESCRIPCION,ID_TIPO_DOCUMENTO) values (87,55,'CONSIGNACION TESORAL','CONSIGNACION TESORAL',34);
Insert into INTERFAZCONTAB.IC_CONCEPTO (ID_CONCEPTO,ID_TRANSACCION_ID,NOMBRE,DESCRIPCION,ID_TIPO_DOCUMENTO) values (91,55,'CONSIGNACION DE CAJA','CONSIGNACION DE CAJA',6);
Insert into INTERFAZCONTAB.IC_CONCEPTO (ID_CONCEPTO,ID_TRANSACCION_ID,NOMBRE,DESCRIPCION,ID_TIPO_DOCUMENTO) values (92,55,'NC SEGUN EXTRACTO','NC SEGUN EXTRACTO',3);
Insert into INTERFAZCONTAB.IC_CONCEPTO (ID_CONCEPTO,ID_TRANSACCION_ID,NOMBRE,DESCRIPCION,ID_TIPO_DOCUMENTO) values (94,56,'VENTAS POS','PARAMETRIZACION GENERAL DE VENTAS POS',20);
REM INSERTING into INTERFAZCONTAB.IC_CONEXION
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_CONEXION (ID_CONEXION,DESCRIPCION,SID,USERNAME,PASSWORD,PUERTO,HOST) values (49,'Conexión ERP','websafiINGEO','werpanm','Sistemas',1521,'192.168.2.45');
REM INSERTING into INTERFAZCONTAB.IC_GRUPO
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_GRUPO (ID_GRUPO,ID_TABLA_ID,NOMBRE,TABLA,CAMPO,DESCRIPCION) values (41,50,'BANCOS','50','NUMERO_CUENTA',null);
Insert into INTERFAZCONTAB.IC_GRUPO (ID_GRUPO,ID_TABLA_ID,NOMBRE,TABLA,CAMPO,DESCRIPCION) values (43,52,'PRODUCTOS Y SERVICIOS','52','ID_PRODUCTO','DESCRIPCION');
Insert into INTERFAZCONTAB.IC_GRUPO (ID_GRUPO,ID_TABLA_ID,NOMBRE,TABLA,CAMPO,DESCRIPCION) values (44,56,'FORMAS DE PAGO EN VENTAS','56','ID','DESCRIPCION');
Insert into INTERFAZCONTAB.IC_GRUPO (ID_GRUPO,ID_TABLA_ID,NOMBRE,TABLA,CAMPO,DESCRIPCION) values (42,51,'RETENCIONES','51','ID',null);
REM INSERTING into INTERFAZCONTAB.IC_MODULO
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_MODULO (ID_MODULO,ID_CONEXION_ID,NOMBRE,DESCRIPCION) values (51,49,'TESORERIA','TESORERIA');
Insert into INTERFAZCONTAB.IC_MODULO (ID_MODULO,ID_CONEXION_ID,NOMBRE,DESCRIPCION) values (52,49,'INVENTARIOS','INVENTARIOS');
Insert into INTERFAZCONTAB.IC_MODULO (ID_MODULO,ID_CONEXION_ID,NOMBRE,DESCRIPCION) values (53,49,'CARTERA','CARTERA');
REM INSERTING into INTERFAZCONTAB.IC_REL_ACTIVIDAD
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (31,null,0,59);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (34,40,41,59);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (32,0,39,59);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (33,39,40,59);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (35,null,0,60);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (36,0,42,60);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (37,42,43,60);
Insert into INTERFAZCONTAB.IC_REL_ACTIVIDAD (ID_REL_ACTIVIDAD,ID_ACTIVIDAD_PADRE_ID,ID_ACTIVIDAD_HIJO_ID,ID_WORKFLOW_ID) values (38,43,41,60);
REM INSERTING into INTERFAZCONTAB.IC_TABLA
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (50,'TS_CB','CUENTAS BANCARIAS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (52,'CA_PRODUCTO','MAESTREO DE PRODUCTOS Y SERVICIOS PARA LA VENTA',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (53,'CA_FACTURA_POS','CABECERA FACTURAS DE VENTAS POS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (54,'CA_FACTURA_PROD','DETALLE DE PRODUCTOS POR FACTURA POS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (55,'CA_FACTURA_PAGO','DETALLE DE PAGOS EN FACTURAS POS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (56,'TS_PC_FP','CONCEPTOS FORMA DE PAGO POS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (49,'TS_MOV_BANC','MOVIMIENTO DE BANCOS',49);
Insert into INTERFAZCONTAB.IC_TABLA (ID_TABLA,NOMBRE,DESCRIPCION,ID_CONEXION_ID) values (51,'TS_IM','RETENCIONES',49);
REM INSERTING into INTERFAZCONTAB.IC_TRANSACCION
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_TRANSACCION (ID_TRANSACCION,ID_MODULO_ID,NOMBRE,DESCRIPCION,ID_TIPO_COMPROBANTE) values (55,51,'MOVIMIENTO DE BANCOS','MOVIMIENTO DE BANCOS',47);
Insert into INTERFAZCONTAB.IC_TRANSACCION (ID_TRANSACCION,ID_MODULO_ID,NOMBRE,DESCRIPCION,ID_TIPO_COMPROBANTE) values (56,53,'FACTURACION VENTAS POS','COMPROBANTE DE VENTAS POS',26);
REM INSERTING into INTERFAZCONTAB.IC_WORKFLOW
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_WORKFLOW (ID_WORKFLOW,BATCH,NOMBRE,DESCRIPCION,JSON) values (59,1,'WORKFLOW MOVIMIENTO BANCOS','WORKFLOW MOVIMIENTO BANCOS',null);
Insert into INTERFAZCONTAB.IC_WORKFLOW (ID_WORKFLOW,BATCH,NOMBRE,DESCRIPCION,JSON) values (60,1,'WORKFLOW VENTAS POS','WORKFLOW VENTAS POS',null);
REM INSERTING into INTERFAZCONTAB.IC_WORKFLOW_TRANSACCION
SET DEFINE OFF;
Insert into INTERFAZCONTAB.IC_WORKFLOW_TRANSACCION (ID_WORKFLOW_TRANSACCION,ID_WORKFLOW_ID,ID_TRANSACCION_ID) values (24,59,55);
Insert into INTERFAZCONTAB.IC_WORKFLOW_TRANSACCION (ID_WORKFLOW_TRANSACCION,ID_WORKFLOW_ID,ID_TRANSACCION_ID) values (25,60,56);
--------------------------------------------------------
--  DDL for Index IC_REL_ACTIVIDAD_AC2C93BE
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_AC2C93BE" ON "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ("ID_WORKFLOW_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index DJANGO_ADMIN_LOG_E4470C6E
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_E4470C6E" ON "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ("CONTENT_TYPE_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_REL_ACTIVIDAD_3FB07B08
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_3FB07B08" ON "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ("ID_ACTIVIDAD_PADRE_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_ACTIVIDAD_704A0B93
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_ACTIVIDAD_704A0B93" ON "INTERFAZCONTAB"."IC_ACTIVIDAD" ("ID_MODULO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_WORKFLOW_TRANSACCION_B68328
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_B68328" ON "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" ("ID_TRANSACCION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_MODULO_CA920332
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_MODULO_CA920332" ON "INTERFAZCONTAB"."IC_MODULO" ("ID_CONEXION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_USER_USER_PERMISSIONS80EB
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS80EB" ON "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ("USER_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_GROUP_PERMISSIONS_BDACA3E
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_BDACA3E" ON "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ("GROUP_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_TABLA_CA920332
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_TABLA_CA920332" ON "INTERFAZCONTAB"."IC_TABLA" ("ID_CONEXION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_GRUPO_7B18C98A
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_GRUPO_7B18C98A" ON "INTERFAZCONTAB"."IC_GRUPO" ("ID_TABLA_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index DJANGO_SESSION_C25C2C28
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."DJANGO_SESSION_C25C2C28" ON "INTERFAZCONTAB"."DJANGO_SESSION" ("EXPIRE_DATE") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_CAMPO_CUENTA_9D119B1D
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_CAMPO_CUENTA_9D119B1D" ON "INTERFAZCONTAB"."IC_CAMPO_CUENTA" ("ID_GRUPO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_ASIENTO_9D119B1D
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_ASIENTO_9D119B1D" ON "INTERFAZCONTAB"."IC_ASIENTO" ("ID_GRUPO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_WORKFLOW_TRANSACCION_ACF37D
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_ACF37D" ON "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" ("ID_WORKFLOW_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_USER_USER_PERMISSIONS6DAA
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS6DAA" ON "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ("PERMISSION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_TRANSACCION_704A0B93
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_TRANSACCION_704A0B93" ON "INTERFAZCONTAB"."IC_TRANSACCION" ("ID_MODULO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_CAMPO_7B18C98A
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_CAMPO_7B18C98A" ON "INTERFAZCONTAB"."IC_CAMPO" ("ID_TABLA_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_REL_ACTIVIDAD_FF2350A7
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_FF2350A7" ON "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ("ID_ACTIVIDAD_HIJO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_CONCEPTO_B69CE4A7
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_CONCEPTO_B69CE4A7" ON "INTERFAZCONTAB"."IC_CONCEPTO" ("ID_TRANSACCION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_USER_GROUPS_FBFC09F1
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_USER_GROUPS_FBFC09F1" ON "INTERFAZCONTAB"."AUTH_USER_GROUPS" ("USER_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index DJANGO_ADMIN_LOG_FBFC09F1
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_FBFC09F1" ON "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ("USER_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_USER_GROUPS_BDA51C3C
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_USER_GROUPS_BDA51C3C" ON "INTERFAZCONTAB"."AUTH_USER_GROUPS" ("GROUP_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_ASIENTO_3200C066
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_ASIENTO_3200C066" ON "INTERFAZCONTAB"."IC_ASIENTO" ("ID_CONCEPTO_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_PERMISSION_E4470C6E
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_PERMISSION_E4470C6E" ON "INTERFAZCONTAB"."AUTH_PERMISSION" ("CONTENT_TYPE_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index AUTH_GROUP_PERMISSIONS_1E076E3
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_1E076E3" ON "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ("PERMISSION_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  DDL for Index IC_ASIENTO_89580CF
--------------------------------------------------------

  CREATE INDEX "INTERFAZCONTAB"."IC_ASIENTO_89580CF" ON "INTERFAZCONTAB"."IC_ASIENTO" ("ID_CAMPO_VALOR_ID") 
  PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS" ;
--------------------------------------------------------
--  Constraints for Table AUTH_USER_GROUPS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" MODIFY ("USER_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" MODIFY ("GROUP_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" ADD UNIQUE ("USER_ID", "GROUP_ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_CAMPO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO" MODIFY ("ID_CAMPO_VALOR" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO" MODIFY ("ID_TABLA_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO" ADD PRIMARY KEY ("ID_CAMPO_VALOR")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_ASIENTO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" MODIFY ("ID_ASIENTO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" MODIFY ("ID_CONCEPTO_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" MODIFY ("USA_GRUPO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" ADD PRIMARY KEY ("ID_ASIENTO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_CAMPO_CUENTA
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" MODIFY ("ID_CAMPO_CUENTA" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" MODIFY ("ID_GRUPO_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" ADD PRIMARY KEY ("ID_CAMPO_CUENTA")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table DJANGO_CONTENT_TYPE
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" ADD UNIQUE ("APP_LABEL", "MODEL")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table DJANGO_SITE
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."DJANGO_SITE" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_SITE" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_MODULO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_MODULO" MODIFY ("ID_MODULO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_MODULO" MODIFY ("ID_CONEXION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_MODULO" ADD PRIMARY KEY ("ID_MODULO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table AUTH_GROUP_PERMISSIONS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" MODIFY ("GROUP_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" MODIFY ("PERMISSION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ADD UNIQUE ("GROUP_ID", "PERMISSION_ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table AUTH_PERMISSION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" MODIFY ("CONTENT_TYPE_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" ADD UNIQUE ("CONTENT_TYPE_ID", "CODENAME")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_TRANSACCION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_TRANSACCION" MODIFY ("ID_TRANSACCION" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_TRANSACCION" MODIFY ("ID_MODULO_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_TRANSACCION" ADD PRIMARY KEY ("ID_TRANSACCION")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table AUTH_USER
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("IS_STAFF" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("IS_ACTIVE" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("IS_SUPERUSER" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("LAST_LOGIN" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" MODIFY ("DATE_JOINED" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" ADD CHECK ("IS_STAFF" IN (0,1)) ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" ADD CHECK ("IS_ACTIVE" IN (0,1)) ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" ADD CHECK ("IS_SUPERUSER" IN (0,1)) ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER" ADD UNIQUE ("USERNAME")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table AUTH_GROUP
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP" ADD UNIQUE ("NAME")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_CONEXION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CONEXION" MODIFY ("ID_CONEXION" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CONEXION" MODIFY ("PUERTO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CONEXION" ADD PRIMARY KEY ("ID_CONEXION")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_GRUPO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_GRUPO" MODIFY ("ID_GRUPO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_GRUPO" MODIFY ("ID_TABLA_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_GRUPO" ADD PRIMARY KEY ("ID_GRUPO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table AUTH_USER_USER_PERMISSIONS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" MODIFY ("USER_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" MODIFY ("PERMISSION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ADD UNIQUE ("USER_ID", "PERMISSION_ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table DJANGO_ADMIN_LOG
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" MODIFY ("ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" MODIFY ("ACTION_TIME" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" MODIFY ("USER_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" MODIFY ("ACTION_FLAG" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ADD CHECK ("ACTION_FLAG" >= 0) ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ADD PRIMARY KEY ("ID")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_ACTIVIDAD
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" MODIFY ("ID_ACTIVIDAD" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" MODIFY ("ID_MODULO_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" ADD PRIMARY KEY ("ID_ACTIVIDAD")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_WORKFLOW
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW" MODIFY ("ID_WORKFLOW" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW" MODIFY ("BATCH" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW" ADD PRIMARY KEY ("ID_WORKFLOW")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table DJANGO_SESSION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."DJANGO_SESSION" MODIFY ("EXPIRE_DATE" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_SESSION" ADD PRIMARY KEY ("SESSION_KEY")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS NOCOMPRESS LOGGING
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_TABLA
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_TABLA" MODIFY ("ID_TABLA" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_TABLA" MODIFY ("ID_CONEXION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_TABLA" ADD PRIMARY KEY ("ID_TABLA")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_CONCEPTO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CONCEPTO" MODIFY ("ID_CONCEPTO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CONCEPTO" MODIFY ("ID_TRANSACCION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CONCEPTO" MODIFY ("ID_TIPO_DOCUMENTO" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_CONCEPTO" ADD PRIMARY KEY ("ID_CONCEPTO")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_WORKFLOW_TRANSACCION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" MODIFY ("ID_WORKFLOW_TRANSACCION" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" MODIFY ("ID_WORKFLOW_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" MODIFY ("ID_TRANSACCION_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" ADD PRIMARY KEY ("ID_WORKFLOW_TRANSACCION")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Constraints for Table IC_REL_ACTIVIDAD
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" MODIFY ("ID_REL_ACTIVIDAD" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" MODIFY ("ID_WORKFLOW_ID" NOT NULL ENABLE);
 
  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ADD PRIMARY KEY ("ID_REL_ACTIVIDAD")
  USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS 
  STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
  PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
  TABLESPACE "USERS"  ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table AUTH_GROUP_PERMISSIONS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ADD CONSTRAINT "GROUP_ID_REFS_ID_3CEA63FE" FOREIGN KEY ("GROUP_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_GROUP" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS" ADD FOREIGN KEY ("PERMISSION_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_PERMISSION" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table AUTH_PERMISSION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_PERMISSION" ADD CONSTRAINT "CONTENT_TYPE_ID_REFS_ID_72724A" FOREIGN KEY ("CONTENT_TYPE_ID")
	  REFERENCES "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table AUTH_USER_GROUPS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" ADD FOREIGN KEY ("GROUP_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_GROUP" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_GROUPS" ADD CONSTRAINT "USER_ID_REFS_ID_831107F1" FOREIGN KEY ("USER_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_USER" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table AUTH_USER_USER_PERMISSIONS
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ADD FOREIGN KEY ("PERMISSION_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_PERMISSION" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS" ADD CONSTRAINT "USER_ID_REFS_ID_F2045483" FOREIGN KEY ("USER_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_USER" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table DJANGO_ADMIN_LOG
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ADD FOREIGN KEY ("USER_ID")
	  REFERENCES "INTERFAZCONTAB"."AUTH_USER" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."DJANGO_ADMIN_LOG" ADD FOREIGN KEY ("CONTENT_TYPE_ID")
	  REFERENCES "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_ACTIVIDAD
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_ACTIVIDAD" ADD CONSTRAINT "ID_MODULO_ID_REFS_ID_MODUL5938" FOREIGN KEY ("ID_MODULO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_MODULO" ("ID_MODULO") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_ASIENTO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" ADD CONSTRAINT "ID_CAMPO_VALOR_ID_REFS_ID_D97B" FOREIGN KEY ("ID_CAMPO_VALOR_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_CAMPO" ("ID_CAMPO_VALOR") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" ADD CONSTRAINT "ID_CONCEPTO_ID_REFS_ID_CON4743" FOREIGN KEY ("ID_CONCEPTO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_CONCEPTO" ("ID_CONCEPTO") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."IC_ASIENTO" ADD CONSTRAINT "ID_GRUPO_ID_REFS_ID_GRUPO_2A7A" FOREIGN KEY ("ID_GRUPO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_GRUPO" ("ID_GRUPO") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_CAMPO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO" ADD CONSTRAINT "ID_TABLA_ID_REFS_ID_TABLA_31A1" FOREIGN KEY ("ID_TABLA_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_TABLA" ("ID_TABLA") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_CAMPO_CUENTA
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CAMPO_CUENTA" ADD CONSTRAINT "ID_GRUPO_ID_REFS_ID_GRUPO_B7E9" FOREIGN KEY ("ID_GRUPO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_GRUPO" ("ID_GRUPO") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_CONCEPTO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_CONCEPTO" ADD CONSTRAINT "ID_TRANSACCION_ID_REFS_ID_D9D9" FOREIGN KEY ("ID_TRANSACCION_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_TRANSACCION" ("ID_TRANSACCION") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_GRUPO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_GRUPO" ADD CONSTRAINT "ID_TABLA_ID_REFS_ID_TABLA_74E8" FOREIGN KEY ("ID_TABLA_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_TABLA" ("ID_TABLA") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_MODULO
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_MODULO" ADD FOREIGN KEY ("ID_CONEXION_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_CONEXION" ("ID_CONEXION") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_REL_ACTIVIDAD
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ADD FOREIGN KEY ("ID_ACTIVIDAD_PADRE_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_ACTIVIDAD" ("ID_ACTIVIDAD") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ADD FOREIGN KEY ("ID_ACTIVIDAD_HIJO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_ACTIVIDAD" ("ID_ACTIVIDAD") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."IC_REL_ACTIVIDAD" ADD FOREIGN KEY ("ID_WORKFLOW_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_WORKFLOW" ("ID_WORKFLOW") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_TABLA
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_TABLA" ADD FOREIGN KEY ("ID_CONEXION_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_CONEXION" ("ID_CONEXION") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_TRANSACCION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_TRANSACCION" ADD FOREIGN KEY ("ID_MODULO_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_MODULO" ("ID_MODULO") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  Ref Constraints for Table IC_WORKFLOW_TRANSACCION
--------------------------------------------------------

  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" ADD FOREIGN KEY ("ID_WORKFLOW_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_WORKFLOW" ("ID_WORKFLOW") DEFERRABLE INITIALLY DEFERRED ENABLE;
 
  ALTER TABLE "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION" ADD FOREIGN KEY ("ID_TRANSACCION_ID")
	  REFERENCES "INTERFAZCONTAB"."IC_TRANSACCION" ("ID_TRANSACCION") DEFERRABLE INITIALLY DEFERRED ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_GROUP_PERMISSIONS_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_TR" 
BEFORE INSERT ON "AUTH_GROUP_PERMISSIONS"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_GROUP_PERMISSIONS_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_GROUP_PERMISSIONS_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_GROUP_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_GROUP_TR" 
BEFORE INSERT ON "AUTH_GROUP"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_GROUP_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_GROUP_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_PERMISSION_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_PERMISSION_TR" 
BEFORE INSERT ON "AUTH_PERMISSION"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_PERMISSION_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_PERMISSION_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_USER_GROUPS_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_USER_GROUPS_TR" 
BEFORE INSERT ON "AUTH_USER_GROUPS"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_USER_GROUPS_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_USER_GROUPS_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_USER_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_USER_TR" 
BEFORE INSERT ON "AUTH_USER"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_USER_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_USER_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger AUTH_USER_USER_PERMISSIONS_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS_TR" 
BEFORE INSERT ON "AUTH_USER_USER_PERMISSIONS"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "AUTH_USER_USER_PERMISSIONS_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."AUTH_USER_USER_PERMISSIONS_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger DJANGO_ADMIN_LOG_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_TR" 
BEFORE INSERT ON "DJANGO_ADMIN_LOG"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "DJANGO_ADMIN_LOG_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."DJANGO_ADMIN_LOG_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger DJANGO_CONTENT_TYPE_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE_TR" 
BEFORE INSERT ON "DJANGO_CONTENT_TYPE"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "DJANGO_CONTENT_TYPE_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."DJANGO_CONTENT_TYPE_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger DJANGO_SITE_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."DJANGO_SITE_TR" 
BEFORE INSERT ON "DJANGO_SITE"
FOR EACH ROW
 WHEN (new."ID" IS NULL) BEGIN
        SELECT "DJANGO_SITE_SQ".nextval
        INTO :new."ID" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."DJANGO_SITE_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_ACTIVIDAD_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_ACTIVIDAD_TR" 
BEFORE INSERT ON "IC_ACTIVIDAD"
FOR EACH ROW
 WHEN (new."ID_ACTIVIDAD" IS NULL) BEGIN
        SELECT "IC_ACTIVIDAD_SQ".nextval
        INTO :new."ID_ACTIVIDAD" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_ACTIVIDAD_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_ASIENTO_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_ASIENTO_TR" 
BEFORE INSERT ON "IC_ASIENTO"
FOR EACH ROW
 WHEN (new."ID_ASIENTO" IS NULL) BEGIN
        SELECT "IC_ASIENTO_SQ".nextval
        INTO :new."ID_ASIENTO" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_ASIENTO_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_CAMPO_CUENTA_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_CAMPO_CUENTA_TR" 
BEFORE INSERT ON "IC_CAMPO_CUENTA"
FOR EACH ROW
 WHEN (new."ID_CAMPO_CUENTA" IS NULL) BEGIN
        SELECT "IC_CAMPO_CUENTA_SQ".nextval
        INTO :new."ID_CAMPO_CUENTA" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_CAMPO_CUENTA_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_CAMPO_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_CAMPO_TR" 
BEFORE INSERT ON "IC_CAMPO"
FOR EACH ROW
 WHEN (new."ID_CAMPO_VALOR" IS NULL) BEGIN
        SELECT "IC_CAMPO_SQ".nextval
        INTO :new."ID_CAMPO_VALOR" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_CAMPO_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_CONCEPTO_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_CONCEPTO_TR" 
BEFORE INSERT ON "IC_CONCEPTO"
FOR EACH ROW
 WHEN (new."ID_CONCEPTO" IS NULL) BEGIN
        SELECT "IC_CONCEPTO_SQ".nextval
        INTO :new."ID_CONCEPTO" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_CONCEPTO_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_CONEXION_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_CONEXION_TR" 
BEFORE INSERT ON "IC_CONEXION"
FOR EACH ROW
 WHEN (new."ID_CONEXION" IS NULL) BEGIN
        SELECT "IC_CONEXION_SQ".nextval
        INTO :new."ID_CONEXION" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_CONEXION_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_GRUPO_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_GRUPO_TR" 
BEFORE INSERT ON "IC_GRUPO"
FOR EACH ROW
 WHEN (new."ID_GRUPO" IS NULL) BEGIN
        SELECT "IC_GRUPO_SQ".nextval
        INTO :new."ID_GRUPO" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_GRUPO_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_MODULO_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_MODULO_TR" 
BEFORE INSERT ON "IC_MODULO"
FOR EACH ROW
 WHEN (new."ID_MODULO" IS NULL) BEGIN
        SELECT "IC_MODULO_SQ".nextval
        INTO :new."ID_MODULO" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_MODULO_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_REL_ACTIVIDAD_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_TR" 
BEFORE INSERT ON "IC_REL_ACTIVIDAD"
FOR EACH ROW
 WHEN (new."ID_REL_ACTIVIDAD" IS NULL) BEGIN
        SELECT "IC_REL_ACTIVIDAD_SQ".nextval
        INTO :new."ID_REL_ACTIVIDAD" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_REL_ACTIVIDAD_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_TABLA_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_TABLA_TR" 
BEFORE INSERT ON "IC_TABLA"
FOR EACH ROW
 WHEN (new."ID_TABLA" IS NULL) BEGIN
        SELECT "IC_TABLA_SQ".nextval
        INTO :new."ID_TABLA" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_TABLA_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_TRANSACCION_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_TRANSACCION_TR" 
BEFORE INSERT ON "IC_TRANSACCION"
FOR EACH ROW
 WHEN (new."ID_TRANSACCION" IS NULL) BEGIN
        SELECT "IC_TRANSACCION_SQ".nextval
        INTO :new."ID_TRANSACCION" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_TRANSACCION_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_WORKFLOW_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_WORKFLOW_TR" 
BEFORE INSERT ON "IC_WORKFLOW"
FOR EACH ROW
 WHEN (new."ID_WORKFLOW" IS NULL) BEGIN
        SELECT "IC_WORKFLOW_SQ".nextval
        INTO :new."ID_WORKFLOW" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_WORKFLOW_TR" ENABLE;
--------------------------------------------------------
--  DDL for Trigger IC_WORKFLOW_TRANSACCION_TR
--------------------------------------------------------

  CREATE OR REPLACE TRIGGER "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_TR" 
BEFORE INSERT ON "IC_WORKFLOW_TRANSACCION"
FOR EACH ROW
 WHEN (new."ID_WORKFLOW_TRANSACCION" IS NULL) BEGIN
        SELECT "IC_WORKFLOW_TRANSACCION_SQ".nextval
        INTO :new."ID_WORKFLOW_TRANSACCION" FROM dual;
    END;

/
ALTER TRIGGER "INTERFAZCONTAB"."IC_WORKFLOW_TRANSACCION_TR" ENABLE;
