CREATE TABLE IF NOT EXISTS recipin.collection (
    id INT GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY,
    name varchar NOT NULL,
    active boolean NOT NULL,
    ismaincollection boolean NOT NULL,
    datecreated varchar NOT NULL,
    datemodified varchar NOT NULL,
    ownerid int REFERENCES recipin.appusers (id)
);