mirror of
https://github.com/BEARlogin/max-telegram-bridge-bot.git
synced 2026-04-28 11:49:49 +00:00
Migration 000016. Existing 825 rows keep created_at=0 (we can't backfill accurately); new /bridge pairs get a real unix timestamp. SQLite uses INSERT … ON CONFLICT … DO UPDATE SET prefix=0 (previously INSERT OR REPLACE, which would have wiped created_at on conflict). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 line
68 B
SQL
1 line
68 B
SQL
ALTER TABLE pairs ADD COLUMN created_at INTEGER NOT NULL DEFAULT 0;
|