feat: 初始化核心数据库表结构、Go模型并包含日期字段类型迁移脚本
This commit is contained in:
@@ -123,7 +123,7 @@ CREATE TABLE IF NOT EXISTS `transactions` (
|
||||
`category_id` bigint(20) unsigned NOT NULL,
|
||||
`account_id` bigint(20) unsigned NOT NULL,
|
||||
`currency` varchar(10) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'CNY',
|
||||
`transaction_date` date NOT NULL,
|
||||
`transaction_date` datetime NOT NULL,
|
||||
`note` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`image_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
|
||||
`recurring_id` bigint(20) unsigned DEFAULT NULL,
|
||||
|
||||
Reference in New Issue
Block a user