Skip to content

Instantly share code, notes, and snippets.

@SnowCait
Created August 24, 2025 06:44
Show Gist options
  • Save SnowCait/f1f6052188d82920e024689d574a0b08 to your computer and use it in GitHub Desktop.
Save SnowCait/f1f6052188d82920e024689d574a0b08 to your computer and use it in GitHub Desktop.

Snowflare メンテ手順書

1. メンテ IN

PUT https://snowflare.cc/maintenance
Authorization: Nostr <NIP-98>

リレーの切断を確認

2. テーブルを削除

npx wrangler d1 execute snowflare-events --remote --file=./src/repository/kv/d1/schema.drop.sql

テーブルの削除を確認

3. マイグレーションの適用

npx wrangler d1 migrations apply snowflare-events --remote

テーブルの作成を確認

4. コードデプロイ

git push

デプロイ完了を確認

5. メンテ OUT

DELETE https://snowflare.cc/maintenance
Authorization: Nostr <NIP-98>

6. 動作確認

以上

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment