DROP TABLE master;
CREATE TABLE master (
  id SERIAL PRIMARY KEY,
  code VARCHAR(10) default '',
  num integer default NULL,
  person VARCHAR(10),
  date timestamp
);