ALTER TABLE `reply` MODIFY COLUMN `replied_by` int;--> statement-breakpoint
ALTER TABLE `reply` ADD CONSTRAINT `reply_replied_by_chats_id_fk` FOREIGN KEY (`replied_by`) REFERENCES `chats`(`id`) ON DELETE cascade ON UPDATE cascade;--> statement-breakpoint
CREATE INDEX `replied_by` ON `reply` (`replied_by`);