feat: 对接 PostgreSQL 存储层
This commit is contained in:
9
backend/migrations/embed.go
Normal file
9
backend/migrations/embed.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Package migrations 提供数据库迁移 SQL 文件的嵌入式访问。
|
||||
package migrations
|
||||
|
||||
import "embed"
|
||||
|
||||
// FS 包含所有迁移 SQL 文件。
|
||||
//
|
||||
//go:embed *.sql
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user