Files
demat-facturation/drizzle/0013_absent_santa_claus.sql

12 lines
387 B
SQL

CREATE TABLE `signatures` (
`id` int AUTO_INCREMENT NOT NULL,
`userId` int NOT NULL,
`firstName` varchar(100) NOT NULL,
`lastName` varchar(100) NOT NULL,
`imageKey` text NOT NULL,
`imageUrl` text NOT NULL,
`createdAt` timestamp NOT NULL DEFAULT (now()),
`updatedAt` timestamp NOT NULL DEFAULT (now()) ON UPDATE CURRENT_TIMESTAMP,
CONSTRAINT `signatures_id` PRIMARY KEY(`id`)
);