/* File generated automatically by dynamo */
/* Entity types */
CREATE TABLE entity_type (
  /* the entity type identifier */
  "id" INTEGER  AUTO_INCREMENT,
  /* the entity type name (table name) */
  "name" VARCHAR(127) UNIQUE NOT NULL,
  PRIMARY KEY ("id")
);
/* Sequence generator */
CREATE TABLE sequence (
  /* the sequence name */
  "name" VARCHAR(127) NOT NULL,
  /* the sequence record version */
  "version" int ,
  /* the sequence value */
  "value" BIGINT ,
  /* the sequence block size */
  "block_size BIGINT ,
  PRIMARY KEY ("name")
);
INSERT INTO entity_type (name) VALUES
("entity_type")
,("sequence")
;

/* File generated automatically by dynamo */
/* Entity types */
CREATE TABLE entity_type (
  /* the entity type identifier */
  "id" SERIAL,
  /* the entity type name (table name) */
  "name" VARCHAR(127) UNIQUE NOT NULL,
  PRIMARY KEY ("id")
);
/* Sequence generator */
CREATE TABLE sequence (
  /* the sequence name */
  "name" VARCHAR(127) NOT NULL,
  /* the sequence record version */
  "version" int ,
  /* the sequence value */
  "value" BIGINT ,
  /* the sequence block size */
  "block_size" BIGINT ,
  PRIMARY KEY ("name")
);
INSERT INTO entity_type (name) VALUES
('entity_type')
,('sequence')
;

Fix SQL to create the entity_type and sequence tables
Fix SQL to create the entity_type and sequence tables
