Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 335 Bytes

File metadata and controls

16 lines (15 loc) · 335 Bytes

Todo

  1. update backend/.env
DATABASE_URL=postgresql://postgres:密碼@db.xxxxx.supabase.co:5432/postgres?sslmode=require
  1. 做資料庫的反向migration
python manage.py inspectdb > system\supabase_models.py
  1. 資料表要注意managed = False
class Meta:
    managed = False
    db_table = "表名"