···1+DROP INDEX "admin_users_did_unique";--> statement-breakpoint
2+DROP INDEX "beta_users_did_unique";--> statement-breakpoint
3+DROP INDEX "comments_author_did_rkey_unique";--> statement-breakpoint
4+DROP INDEX "comment_aggregates_comment_id_unique";--> statement-breakpoint
5+DROP INDEX "comment_id_idx";--> statement-breakpoint
6+DROP INDEX "comment_votes_author_did_rkey_unique";--> statement-breakpoint
7+DROP INDEX "comment_votes_author_did_comment_id_unique";--> statement-breakpoint
8+DROP INDEX "labelled_profiles_did_unique";--> statement-breakpoint
9+DROP INDEX "oauth_auth_requests_state_unique";--> statement-breakpoint
10+DROP INDEX "posts_author_did_rkey_unique";--> statement-breakpoint
11+DROP INDEX "post_id_idx";--> statement-breakpoint
12+DROP INDEX "rank_idx";--> statement-breakpoint
13+DROP INDEX "post_aggregates_post_id_unique";--> statement-breakpoint
14+DROP INDEX "post_votes_author_did_rkey_unique";--> statement-breakpoint
15+DROP INDEX "post_votes_author_did_post_id_unique";--> statement-breakpoint
16+17+ALTER TABLE `posts` ALTER COLUMN "collection" TO "collection" text NOT NULL;--> statement-breakpoint
18+19+CREATE UNIQUE INDEX `admin_users_did_unique` ON `admin_users` (`did`);--> statement-breakpoint
20+CREATE UNIQUE INDEX `beta_users_did_unique` ON `beta_users` (`did`);--> statement-breakpoint
21+CREATE UNIQUE INDEX `comments_author_did_rkey_unique` ON `comments` (`author_did`,`rkey`);--> statement-breakpoint
22+CREATE UNIQUE INDEX `comment_aggregates_comment_id_unique` ON `comment_aggregates` (`comment_id`);--> statement-breakpoint
23+CREATE INDEX `comment_id_idx` ON `comment_aggregates` (`comment_id`);--> statement-breakpoint
24+CREATE UNIQUE INDEX `comment_votes_author_did_rkey_unique` ON `comment_votes` (`author_did`,`rkey`);--> statement-breakpoint
25+CREATE UNIQUE INDEX `comment_votes_author_did_comment_id_unique` ON `comment_votes` (`author_did`,`comment_id`);--> statement-breakpoint
26+CREATE UNIQUE INDEX `labelled_profiles_did_unique` ON `labelled_profiles` (`did`);--> statement-breakpoint
27+CREATE UNIQUE INDEX `oauth_auth_requests_state_unique` ON `oauth_auth_requests` (`state`);--> statement-breakpoint
28+CREATE UNIQUE INDEX `posts_author_did_rkey_unique` ON `posts` (`author_did`,`rkey`);--> statement-breakpoint
29+CREATE INDEX `post_id_idx` ON `post_aggregates` (`post_id`);--> statement-breakpoint
30+CREATE INDEX `rank_idx` ON `post_aggregates` (`rank`);--> statement-breakpoint
31+CREATE UNIQUE INDEX `post_aggregates_post_id_unique` ON `post_aggregates` (`post_id`);--> statement-breakpoint
32+CREATE UNIQUE INDEX `post_votes_author_did_rkey_unique` ON `post_votes` (`author_did`,`rkey`);--> statement-breakpoint
33+CREATE UNIQUE INDEX `post_votes_author_did_post_id_unique` ON `post_votes` (`author_did`,`post_id`);