create table "image" (
	"id" serial,
	"link" varchar,
	"date" timestamp,
	"user_id" integer,
	constraint image_pk primary key ("id"),
	constraint image_link_unique unique ("link"),
	constraint image_fk_user_id foreign key ("user_id") references "user" ("id")
);