Files
aiagent/backend/init_database.sql
2026-01-19 00:09:36 +08:00

11 lines
313 B
SQL
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-- 初始化数据库脚本
-- 需要在MySQL中先创建数据库
-- 创建数据库(如果不存在)
CREATE DATABASE IF NOT EXISTS agent_db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
-- 使用数据库
USE agent_db;
-- 注意表结构会通过SQLAlchemy自动创建或者使用Alembic迁移