
CREATE SEQUENCE imagetags_id_seq;

CREATE TABLE imagetags (
  it_id   INTEGER PRIMARY KEY NOT NULL DEFAULT nextval('imagetags_id_seq'),
  it_page_id INTEGER NOT NULL,
  it_name    TEXT NOT NULL,
  it_article_tag TEXT NOT NULL,
  it_tag_rect    TEXT NOT NULL,
  it_user_text   TEXT NOT NULL,
  it_user INTEGER NOT NULL
);
