CREATE TABLE `proposals` (
	`id` text PRIMARY KEY NOT NULL,
	`agent_id` text NOT NULL REFERENCES `agents`(`id`) ON DELETE cascade,
	`initiative_id` text NOT NULL REFERENCES `initiatives`(`id`) ON DELETE cascade,
	`target_type` text NOT NULL,
	`target_id` text,
	`title` text NOT NULL,
	`summary` text,
	`content` text,
	`metadata` text,
	`status` text NOT NULL DEFAULT 'pending',
	`sort_order` integer NOT NULL DEFAULT 0,
	`created_at` integer NOT NULL,
	`updated_at` integer NOT NULL
);
