···11+DROP INDEX "admin_users_did_unique";--> statement-breakpoint
22+DROP INDEX "beta_users_did_unique";--> statement-breakpoint
33+DROP INDEX "comments_author_did_rkey_unique";--> statement-breakpoint
44+DROP INDEX "comment_aggregates_comment_id_unique";--> statement-breakpoint
55+DROP INDEX "comment_id_idx";--> statement-breakpoint
66+DROP INDEX "comment_votes_author_did_rkey_unique";--> statement-breakpoint
77+DROP INDEX "comment_votes_author_did_comment_id_unique";--> statement-breakpoint
88+DROP INDEX "labelled_profiles_did_unique";--> statement-breakpoint
99+DROP INDEX "oauth_auth_requests_state_unique";--> statement-breakpoint
1010+DROP INDEX "posts_author_did_rkey_unique";--> statement-breakpoint
1111+DROP INDEX "post_id_idx";--> statement-breakpoint
1212+DROP INDEX "rank_idx";--> statement-breakpoint
1313+DROP INDEX "post_aggregates_post_id_unique";--> statement-breakpoint
1414+DROP INDEX "post_votes_author_did_rkey_unique";--> statement-breakpoint
1515+DROP INDEX "post_votes_author_did_post_id_unique";--> statement-breakpoint
1616+1717+ALTER TABLE `posts` ALTER COLUMN "collection" TO "collection" text NOT NULL;--> statement-breakpoint
1818+1919+CREATE UNIQUE INDEX `admin_users_did_unique` ON `admin_users` (`did`);--> statement-breakpoint
2020+CREATE UNIQUE INDEX `beta_users_did_unique` ON `beta_users` (`did`);--> statement-breakpoint
2121+CREATE UNIQUE INDEX `comments_author_did_rkey_unique` ON `comments` (`author_did`,`rkey`);--> statement-breakpoint
2222+CREATE UNIQUE INDEX `comment_aggregates_comment_id_unique` ON `comment_aggregates` (`comment_id`);--> statement-breakpoint
2323+CREATE INDEX `comment_id_idx` ON `comment_aggregates` (`comment_id`);--> statement-breakpoint
2424+CREATE UNIQUE INDEX `comment_votes_author_did_rkey_unique` ON `comment_votes` (`author_did`,`rkey`);--> statement-breakpoint
2525+CREATE UNIQUE INDEX `comment_votes_author_did_comment_id_unique` ON `comment_votes` (`author_did`,`comment_id`);--> statement-breakpoint
2626+CREATE UNIQUE INDEX `labelled_profiles_did_unique` ON `labelled_profiles` (`did`);--> statement-breakpoint
2727+CREATE UNIQUE INDEX `oauth_auth_requests_state_unique` ON `oauth_auth_requests` (`state`);--> statement-breakpoint
2828+CREATE UNIQUE INDEX `posts_author_did_rkey_unique` ON `posts` (`author_did`,`rkey`);--> statement-breakpoint
2929+CREATE INDEX `post_id_idx` ON `post_aggregates` (`post_id`);--> statement-breakpoint
3030+CREATE INDEX `rank_idx` ON `post_aggregates` (`rank`);--> statement-breakpoint
3131+CREATE UNIQUE INDEX `post_aggregates_post_id_unique` ON `post_aggregates` (`post_id`);--> statement-breakpoint
3232+CREATE UNIQUE INDEX `post_votes_author_did_rkey_unique` ON `post_votes` (`author_did`,`rkey`);--> statement-breakpoint
3333+CREATE UNIQUE INDEX `post_votes_author_did_post_id_unique` ON `post_votes` (`author_did`,`post_id`);