     "account_id" int8 NOT NULL,
     "notification_content_id" int8 NOT NULL,
     "type_constant" varchar(100) NOT NULL COLLATE "default",
-    "added_at" timestamp(6) WITH TIME ZONE
+    "added_at" timestamp(6) WITH TIME ZONE NOT NULL DEFAULT now()
 )
 WITH (OIDS=FALSE);
 -- ALTER TABLE "api"."notification_subscription" OWNER TO "socialapplication";

    "target_id" int8 NOT NULL,
    "actor_id" int8 NOT NULL,
    "type_constant" varchar(100) NOT NULL COLLATE "default",
    "updated_at" timestamp(6) WITH TIME ZONE
)
WITH (OIDS=FALSE);
-- ALTER TABLE "api"."activity" OWNER TO "socialapplication";
GRANT SELECT, INSERT, DELETE ON "api"."activity" OWNER TO "socialapplication";

-- ----------------------------
--  Table structure for notification_subscription

    "account_id" int8 NOT NULL,
    "notification_content_id" int8 NOT NULL,
    "glanced" bool NOT NULL,
    "updated_at" timestamp(6) WITH TIME ZONE NOT NULL DEFAULT now()
)
WITH (OIDS=FALSE);
-- ALTER TABLE "api"."notification" OWNER TO "socialapplication";
