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

-- Jailer

drop table entity;
drop table dependency;
drop table entity_set_element;
drop table entity_graph;

CREATE TABLE entity_graph
(
   id              INTEGER NOT NULL,
   created         TIMESTAMP NOT NULL WITH DEFAULT CURRENT TIMESTAMP,
   age             INTEGER NOT NULL WITH DEFAULT 1,

   CONSTRAINT j_pk_graph PRIMARY KEY(id)
);

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


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

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