Go + PostgreSQL + Valkey backend (cmd/internal/migrations), uni-app mobile frontend, PC web (web/), admin console (admin/), Android WebView container (android_project/). Build artifacts, node_modules, local env and debug screenshots excluded.
12 lines
305 B
SQL
12 lines
305 B
SQL
-- +goose Up
|
||
|
||
-- 系统设置(管理后台 /admin/settings 使用,k-v 存储 JSON 值)
|
||
CREATE TABLE IF NOT EXISTS site_settings (
|
||
k TEXT PRIMARY KEY,
|
||
v JSONB NOT NULL,
|
||
updated_at TIMESTAMPTZ NOT NULL DEFAULT now()
|
||
);
|
||
|
||
-- +goose Down
|
||
DROP TABLE IF EXISTS site_settings;
|