CREATE TABLE IF NOT EXISTS "access_log" (
"id" BIGINT NOT NULL DEFAULT 'nextval(''access_log_id_seq''::regclass)',
"user_id" BIGINT NOT NULL,
"platform" SMALLINT NOT NULL,
"created_at" TIMESTAMP NULL DEFAULT NULL,
"updated_at" TIMESTAMP NULL DEFAULT NULL,
"device_id" VARCHAR(255) NULL DEFAULT NULL,
"location" VARCHAR(255) NULL DEFAULT NULL,
"ip" VARCHAR(255) NULL DEFAULT NULL,
PRIMARY KEY ("id"),
CONSTRAINT "access_log_user_id_foreign" FOREIGN KEY ("user_id") REFERENCES "public"."users" ("id") ON UPDATE NO ACTION ON DELETE NO ACTION
);
I am trying to restore my PostgreSQL using HeidiSQL. It is showing invalid input syntax for type bigint.

timestamp with time zone.inet. Btw: there is no magic optimization when using 255 as the length limit for a varchar compared to e.g.260or 274`