go-webservice-gin-sqlx/new.sql

8 lines
429 B
MySQL
Raw Normal View History

2022-10-14 18:25:43 +00:00
CREATE TABLE `albums` (
`id` bigint NOT NULL AUTO_INCREMENT,
`title` longtext,
`artist` longtext,
`price` double DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_albums_deleted_at` (`deleted_at`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci