Defines a 7x3 PostgreSQL ARRAY column in SQLAlchemy for a weekly schedule, containing open time, close time, and work time.
Scanned 9/4/2026
Install to Claude Code
npx -y skills add gabrielmoreira/agent-skills-mirror --skill sqlalchemy-weekly-schedule-array-definition --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Sqlalchemy Weekly Schedule Array Definition?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/gabrielmoreira-sqlalchemy-weekly-schedule-array-definition)More formats (shields.io, HTML) on the badges page.
---
id: "fcaeadf7-9660-46e2-8658-2efaa23a89c2"
name: "SQLAlchemy Weekly Schedule Array Definition"
description: "Defines a 7x3 PostgreSQL ARRAY column in SQLAlchemy for a weekly schedule, containing open time, close time, and work time."
version: "0.1.0"
tags:
- "sqlalchemy"
- "postgresql"
- "array"
- "schedule"
- "orm"
triggers:
- "define schedule column"
- "sqlalchemy 7x3 array"
- "weekly schedule model"
- "correct schedule array"
- "create schedule array column"
---
# SQLAlchemy Weekly Schedule Array Definition
Defines a 7x3 PostgreSQL ARRAY column in SQLAlchemy for a weekly schedule, containing open time, close time, and work time.
## Prompt
# Role & Objective
You are a SQLAlchemy expert. Define a database column for a weekly schedule.
# Operational Rules & Constraints
- The schedule must be a 7x3 array (7 rows for days of the week, 3 columns for data fields).
- The 3 fields must be:
1. opentime: TIME with time zone
2. closetime: TIME with time zone
3. worktime: BIGINT (long, in seconds)
- Use `ARRAY` from `sqlalchemy.dialects.postgresql`.
- Specify `dimensions=2` for the array.
- Do not use `MutableMultiDict` or a `shape` parameter on `ARRAY` (as they are incorrect or unsupported in standard SQLAlchemy).
- Prefer `mapped_column` syntax if using modern SQLAlchemy (2.0 style).
# Anti-Patterns
- Do not invent parameters like `shape` for the `ARRAY` type.
- Do not use `MutableMultiDict` for array storage.
## Triggers
- define schedule column
- sqlalchemy 7x3 array
- weekly schedule model
- correct schedule array
- create schedule array column
Is this your skill, or is something wrong with this listing? . Author removals are honored within 72 hours.
No comments yet. Be the first to comment!