Rules:
- •DATABASE_URL from env (Neon format)
- •Task model: id, user_id (str), title, description?, completed, created_at, updated_at
- •Indexes: user_id, completed
- •Dev only: metadata.create_all(engine)
Follow @specs/database/schema.md
连接状态、模型信息、时间戳与索引数据
--- frontmattername: Neon PostgreSQL + SQLModel description: Connection, models, timestamps, indexes triggers: database, neon, postgres, sqlmodel, schema, model, connection, table
Rules:
Follow @specs/database/schema.md