mirror of
https://github.com/Dokploy/examples
synced 2025-06-26 18:15:52 +00:00
9 lines
315 B
SQL
9 lines
315 B
SQL
CREATE TABLE `t3_post` (
|
|
`id` bigint AUTO_INCREMENT NOT NULL,
|
|
`name` varchar(256),
|
|
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
|
`updated_at` timestamp ON UPDATE CURRENT_TIMESTAMP,
|
|
CONSTRAINT `t3_post_id` PRIMARY KEY(`id`)
|
|
);
|
|
--> statement-breakpoint
|
|
CREATE INDEX `name_idx` ON `t3_post` (`name`); |