feat: 初始化数据库结构,包括用户、OAuth账户、账户、账本、分类、标签和交易等表。

This commit is contained in:
2026-01-26 15:01:54 +08:00
parent b2a41c49a8
commit 3fc2b8092e

View File

@@ -1,9 +1,3 @@
-- Database Schema for Accounting App
-- Generated based on GORM models
CREATE DATABASE IF NOT EXISTS `accounting_app` DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
USE `accounting_app`;
-- Users table -- Users table
CREATE TABLE IF NOT EXISTS `users` ( CREATE TABLE IF NOT EXISTS `users` (