CREATE TABLE "queue_log" (
    "id" SERIAL,
    "time" TIMESTAMP WITHOUT TIME ZONE DEFAULT now() NOT NULL,
    "callid" character varying(50) NOT NULL,
    "queuename" character varying(50) NOT NULL,
    "agent" character varying(50) NOT NULL,
    "event" character varying(20) NOT NULL,
    "data" character varying(50) NOT NULL,
    "data1" character varying(50) NOT NULL,
    "data2" character varying(50) NOT NULL,
    "data3" character varying(50) NOT NULL,
    "data4" character varying(50) NOT NULL,
    "data5" character varying(50) NOT NULL,
    CONSTRAINT queue_log_pkey PRIMARY KEY (id)
) WITHOUT OIDS;

CREATE TABLE "queue_log" (
    "id" SERIAL,
    "time" TIMESTAMP WITHOUT TIME ZONE DEFAULT now() NOT NULL,
    "callid" character varying(50) NOT NULL DEFAULT '',
    "queuename" character varying(50) NOT NULL DEFAULT '',
    "agent" character varying(50) NOT NULL DEFAULT '',
    "event" character varying(20) NOT NULL DEFAULT '',
    "data" character varying(50) NOT NULL DEFAULT '',
    "data1" character varying(50) NOT NULL DEFAULT '',
    "data2" character varying(50) NOT NULL DEFAULT '',
    "data3" character varying(50) NOT NULL DEFAULT '',
    "data4" character varying(50) NOT NULL DEFAULT '',
    "data5" character varying(50) NOT NULL DEFAULT '',
    CONSTRAINT queue_log_pkey PRIMARY KEY (id)
) WITHOUT OIDS;

Set default values for DDL queue_log in PostgreSQL
Set default values for DDL queue_log in PostgreSQL
