From c9c5cf6bdfc4a87f2d173dbfee4a4f2edc3a0079 Mon Sep 17 00:00:00 2001 From: Jonathan Sick <jsick@lsst.org> Date: Tue, 14 Jan 2025 11:54:07 -0500 Subject: [PATCH] Add change log entry for TEXT column migration --- changelog.d/20250114_114726_jsick_DM_48413.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 changelog.d/20250114_114726_jsick_DM_48413.md diff --git a/changelog.d/20250114_114726_jsick_DM_48413.md b/changelog.d/20250114_114726_jsick_DM_48413.md new file mode 100644 index 00000000..5de19d4b --- /dev/null +++ b/changelog.d/20250114_114726_jsick_DM_48413.md @@ -0,0 +1,17 @@ +<!-- Delete the sections that don't apply --> + +### Backwards-incompatible changes + +- Migrate the database to use `TEXT` column types where previously we used `VARCHAR` columns with a (now unnecessary) length limit. **This change requires a database migration on deployment**. In Postgres there is no functional or performance difference between `VARCHAR` and `TEXT` columns. This change simplifies the database schema and reduce the risk of future issues with column length limits. + +### New features + +- + +### Bug fixes + +- In the `cli` tox environment, fix the name of the executable to be `times-square` rather than `timessquare`. + +### Other changes + +- Improved the developer documentation for database migration to concretely provide copy-and-paste-able commands for preparing and running database migrations.