Logo
Explore Help
Register Sign In
oadmin/sub2api
1
0
Fork 0
You've already forked sub2api
Code Issues Pull Requests 1 Actions Packages Projects Releases Wiki Activity
Files
ba98243cc2bc230bffb528014331f70276dbffaa
sub2api/backend/migrations/095_channel_features.sql

3 lines
189 B
MySQL
Raw Normal View History

refactor: remove PaymentChannel, reuse upstream Channel with features field - Delete payment_channels table and PaymentChannel Ent schema - Add `features` column to upstream channels table (migration 095) - Add Features field to Channel struct, input types, handler request/response - Payment user/admin handlers now use ChannelService directly - Remove Channel CRUD from PaymentConfigService and admin payment routes - Remove "渠道管理" tab from admin orders page (use /admin/channels)
2026-04-05 16:39:24 +08:00
ALTER TABLE channels ADD COLUMN IF NOT EXISTS features TEXT NOT NULL DEFAULT '';
COMMENT ON COLUMN channels.features IS '渠道特性描述,JSON 数组格式,用于支付页面展示';
Reference in New Issue Copy Permalink
Powered by Gitea Version: 24.7.0 Page: 89ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API