Extract memind_adm admin server, add local dev tooling, and remove image-generation.
Split platform admin and ops APIs into standalone admin-server.mjs with network guards; simplify billing to RMB token pricing, refactor user auth, and add rsync deploy plus local-test scripts and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -255,12 +255,6 @@ export async function migrateSchema(pool) {
|
||||
`ALTER TABLE h5_payment_orders
|
||||
MODIFY pay_mode ENUM('native', 'h5', 'jsapi') NOT NULL DEFAULT 'native'`,
|
||||
);
|
||||
|
||||
if (!(await indexExists(pool, 'h5_usage_records', 'idx_h5_usage_created'))) {
|
||||
await pool.query(
|
||||
`ALTER TABLE h5_usage_records ADD KEY idx_h5_usage_created (created_at)`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
export async function initSchema(pool) {
|
||||
|
||||
Reference in New Issue
Block a user