CREATE TABLE `manual_projects` (
	`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
	`reference` text NOT NULL,
	`name` text NOT NULL,
	`email` text NOT NULL,
	`phone` text,
	`company` text,
	`title` text NOT NULL,
	`description` text DEFAULT '' NOT NULL,
	`width_cm` integer,
	`height_cm` integer,
	`quantity` integer DEFAULT 1 NOT NULL,
	`estimated_price_cents` integer NOT NULL,
	`is_professional` integer DEFAULT false NOT NULL,
	`status` text DEFAULT 'new' NOT NULL,
	`created_at` integer NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `manual_projects_reference_unique` ON `manual_projects` (`reference`);
--> statement-breakpoint
CREATE INDEX `manual_projects_email_idx` ON `manual_projects` (`email`);
