text: DROP TABLE IF EXISTS events;
  CREATE TABLE events
  (
      id            INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      timestamp     DATETIME,
      event_type_id INTEGER,
      quantity      DECIMAL(7, 2) DEFAULT NULL,
      user_id       INTEGER
  );
  
  
  DROP TABLE IF EXISTS event_types;
  CREATE TABLE event_types
  (
      id         INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      name       VARCHAR(255),
      account_id INTEGER
  );
  
  
  DROP TABLE IF EXISTS accounts;
  CREATE TABLE accounts
  (
      id      INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      name    VARCHAR(255),
      user_id INTEGER NOT NULL
  );
  
  DROP TABLE IF EXISTS users;
  CREATE TABLE users
  (
      id   INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      name VARCHAR(255),
      role VARCHAR(255)
  );
  
  DROP TABLE IF EXISTS foos;
  CREATE TABLE foos
  (
      id    INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      name  VARCHAR(255),
      price DECIMAL(7, 2)
  );
  
  DROP TABLE IF EXISTS dual;
  CREATE TABLE dual
  (
      id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT
  );
  
  DROP TABLE IF EXISTS articles;
  CREATE TABLE articles
  (
      id      INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      content VARCHAR(255),
      lang_id INTEGER
  );
  
  
  DROP TABLE IF EXISTS datly_acl;
  CREATE TABLE datly_acl
  (
      id        INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
      subject   VARCHAR(255),
      criteria  VARCHAR(255),
      data_view varchar(255)
  );
  