-- drop tables if exist
DROP TABLE IF EXISTS Map;

-- create tables
CREATE TABLE Map (
                     Name VARCHAR(50),
                     Data MEDIUMTEXT,
                     Pubkey TEXT,
                     Signature TEXT,
                     Time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
                     primary key (Name)
);
