From b2812327eeab9bbf45095851931247b4c0e43309 Mon Sep 17 00:00:00 2001 From: Hankin Date: Mon, 14 Apr 2025 10:23:54 +0800 Subject: [PATCH] library --- ... 1744273853_create_s2_supplier_payment_info.up.sql | 0 1744359125_create_ufutx_library.up.sql | 11 +++++++++++ 1744359149_create_ufutx_library_category.up.sql | 7 +++++++ 3 files changed, 18 insertions(+) rename 1744273853_create_s2_supplier_payment_info_up.sql => 1744273853_create_s2_supplier_payment_info.up.sql (100%) create mode 100644 1744359125_create_ufutx_library.up.sql create mode 100644 1744359149_create_ufutx_library_category.up.sql diff --git a/1744273853_create_s2_supplier_payment_info_up.sql b/1744273853_create_s2_supplier_payment_info.up.sql similarity index 100% rename from 1744273853_create_s2_supplier_payment_info_up.sql rename to 1744273853_create_s2_supplier_payment_info.up.sql diff --git a/1744359125_create_ufutx_library.up.sql b/1744359125_create_ufutx_library.up.sql new file mode 100644 index 0000000..d740996 --- /dev/null +++ b/1744359125_create_ufutx_library.up.sql @@ -0,0 +1,11 @@ +CREATE TABLE `ufutx_library`( + `id` BIGINT NOT NULL AUTO_INCREMENT , + `category_id` int NOT null COMMENT "类别id", + `icon` varchar(255) NOT null COMMENT "图标", + `name` varchar(255) NOT null COMMENT "文件名", + `path` varchar(255) NOT null COMMENT "文件地址", + `role_id` varchar(255) NOT NULL COMMENT "授权角色", + `created_at` TIMESTAMP NULL DEFAULT NULL , + `updated_at` TIMESTAMP NULL DEFAULT NULL , + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '资料库表'; \ No newline at end of file diff --git a/1744359149_create_ufutx_library_category.up.sql b/1744359149_create_ufutx_library_category.up.sql new file mode 100644 index 0000000..b3291d9 --- /dev/null +++ b/1744359149_create_ufutx_library_category.up.sql @@ -0,0 +1,7 @@ +CREATE TABLE `ufutx_library_category`( + `id` BIGINT NOT NULL AUTO_INCREMENT , + `name` varchar(255) NOT null COMMENT "类名", + `created_at` TIMESTAMP NULL DEFAULT NULL , + `updated_at` TIMESTAMP NULL DEFAULT NULL , + PRIMARY KEY (`id`) +) ENGINE = InnoDB COMMENT = '资料库类别表'; \ No newline at end of file