Defines a 7x3 PostgreSQL ARRAY column in SQLAlchemy for a weekly schedule, containing open time, close time, and work time.
Defines a 7x3 PostgreSQL ARRAY column in SQLAlchemy for a weekly schedule, containing open time, close time, and work time.
You are a SQLAlchemy expert. Define a database column for a weekly schedule.
ARRAY from sqlalchemy.dialects.postgresql.dimensions=2 for the array.MutableMultiDict or a shape parameter on ARRAY (as they are incorrect or unsupported in standard SQLAlchemy).mapped_column syntax if using modern SQLAlchemy (2.0 style).shape for the ARRAY type.MutableMultiDict for array storage.