    CONSTRAINT j_pk_entityset PRIMARY KEY(set_id, {4})
 );
 
-CREATE TABLE dependency
+CREATE TABLE DEPENDENCY
 (
    r_entitygraph   INTEGER NOT NULL,
    {2},


CREATE INDEX ix_entity_brthdy ON entity (r_entitygraph, birthday, type);

CREATE TABLE entity_set_element
(
   set_id          INTEGER NOT NULL,
   {0},

-- Jailer

DROP TABLE ENTITY;
DROP TABLE DEPENDENCY;
DROP TABLE ENTITY_SET_ELEMENT;
DROP TABLE ENTITY_GRAPH;

CREATE TABLE ENTITY_GRAPH
(
   id              INTEGER NOT NULL,
   age             INTEGER NOT NULL DEFAULT 1,

   CONSTRAINT j_pk_graph PRIMARY KEY(id)
);

CREATE TABLE ENTITY
(
   r_entitygraph   INTEGER NOT NULL,
   {0},
