penpot/backend/src/app/migrations/sql
Andrey Antukh b929564fa7 ♻️ Add admin facilities on the code base
- Fix bugs related to orphan teams on profile deletion
- Separate session based profile-id param from api user provided
2022-12-22 16:42:45 +01:00
..
0001-add-extensions.sql 🔥 Remove unused extension. 2021-01-28 12:30:55 +01:00
0002-add-profile-tables.sql ♻️ Refactor dashboard (add teams) 2020-09-28 12:28:29 +02:00
0003-add-project-tables.sql Many improvements to the database layer. 2021-01-11 08:06:02 +01:00
0004-add-tasks-tables.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0005-add-libraries-tables.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0006-add-presence-tables.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0007-drop-version-field-from-page-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0008-add-generic-token-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0009-drop-profile-email-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0010-add-http-session-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0011-add-session-id-field-to-page-change-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0012-make-libraries-linked-to-a-file.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0013-mark-files-shareable.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0014-refactor-media-storage.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0015-improve-tasks-tables.sql 📎 Minor changes on migration files. 2021-05-06 14:13:54 +02:00
0016-truncate-and-alter-tokens-table.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0017-link-files-to-libraries.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0018-add-file-trimming-triggers.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0019-add-improved-scheduled-tasks.sql 📎 Minor changes on migration files. 2021-05-06 14:13:54 +02:00
0020-minor-fixes-to-media-object.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0021-http-session-improvements.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0022-page-file-refactor.sql ♻️ Refactor migrations. 2020-09-21 17:05:55 +02:00
0024-mod-profile-table.sql ♻️ Refactor email validations & tokens service. 2020-09-21 17:05:55 +02:00
0025-del-generic-tokens-table.sql ♻️ Refactor email validations & tokens service. 2020-09-21 17:05:55 +02:00
0026-mod-file-library-rel-table-synced-date.sql 🎉 Allow to ignore updates, and do it later in libraries dialog 2020-09-23 11:03:45 +02:00
0027-mod-file-table-ignore-sync.sql 🎉 Allow to ignore updates, and do it later in libraries dialog 2020-09-23 11:03:45 +02:00
0028-add-team-project-profile-rel-table.sql ♻️ Refactor dashboard (add teams) 2020-09-28 12:28:29 +02:00
0029-del-project-profile-rel-indexes.sql ♻️ Refactor dashboard (add teams) 2020-09-28 12:28:29 +02:00
0030-mod-file-table-add-missing-index.sql ♻️ Refactor dashboard (add teams) 2020-09-28 12:28:29 +02:00
0031-add-conversation-related-tables.sql 🎉 Initial work on comments subsystem. 2020-10-21 13:18:26 +02:00
0032-del-unused-tables.sql 🔥 Add a migration for remove unused tables. 2020-11-23 17:43:06 +01:00
0033-mod-comment-thread-table.sql 🎉 Add comments to dashboard. 2020-11-23 17:43:06 +01:00
0034-mod-profile-table-add-props-field.sql 🎉 Add onboarding modal. 2020-12-10 11:09:39 +01:00
0035-add-storage-tables.sql 🐛 Fix typos in backend 2021-11-15 09:53:10 -05:00
0036-mod-storage-referenced-tables.sql Many improvements to the database layer. 2021-01-11 08:06:02 +01:00
0037-del-obsolete-triggers.sql Many improvements to the database layer. 2021-01-11 08:06:02 +01:00
0038-add-storage-on-delete-triggers.sql Many improvements to the database layer. 2021-01-11 08:06:02 +01:00
0039-fix-some-on-delete-triggers.sql Many improvements to the database layer. 2021-01-11 08:06:02 +01:00
0040-add-error-report-tables.sql 🎉 Add better error reporting. 2021-01-25 11:51:15 +01:00
0041-mod-pg-storage-options.sql 📎 Minor changes on migration files. 2021-05-06 14:13:54 +02:00
0042-add-server-prop-table.sql Simplify internal props handling and telemetry. 2021-01-29 12:58:57 +01:00
0043-drop-old-tables-and-fields.sql 🎉 Add refcount-like functionality to storages. 2021-02-01 09:48:28 +01:00
0044-add-storage-refcount.sql 🔥 Remove unused sql code. 2021-02-18 09:35:37 +01:00
0045-add-index-to-file-change-table.sql 🎉 Add missing index to file_change table. 2021-02-10 12:07:35 +01:00
0046-add-profile-complaint-table.sql 🎉 Add automatic complaint and bouncing handling. 2021-02-12 16:26:28 +01:00
0047-mod-file-change-table.sql Add missing indexes and improve others. 2021-02-16 11:49:47 +01:00
0048-mod-storage-tables.sql Add missing indexes and improve others. 2021-02-16 11:49:47 +01:00
0049-mod-http-session-table.sql 🎉 Add proper lifecycle handling for http sessions. 2021-02-22 14:50:01 +01:00
0050-mod-server-prop-table.sql 🎉 Add onboarding data to the database. 2021-02-24 16:31:56 +01:00
0051-mod-file-library-rel-table.sql 🐛 Fix initial data loading issues. 2021-03-08 22:35:11 +01:00
0052-del-legacy-user-and-team.sql 🔥 Remove legacy system user and team. 2021-04-16 12:16:13 +02:00
0053-add-team-font-variant-table.sql 🐛 Fix many corner cases on custom font management. 2021-05-25 15:41:52 +02:00
0054-add-audit-log-table.sql 🎉 Add proper audit log impl. 2021-05-17 12:02:21 +02:00
0055-mod-file-media-object-table.sql Properly use dumped objects on initial data load process. 2021-05-20 10:52:20 +02:00
0056-add-missing-index-on-deleted-at.sql ♻️ Reimplement GC mechanism for penpot database objects. 2021-06-09 15:27:07 +02:00
0057-del-profile-on-delete-trigger.sql ♻️ Reimplement GC mechanism for penpot database objects. 2021-06-09 15:27:07 +02:00
0058-del-team-on-delete-trigger.sql ♻️ Reimplement GC mechanism for penpot database objects. 2021-06-09 15:27:07 +02:00
0059-mod-audit-log-table.sql Add source ip to the audit-log. 2021-06-10 10:56:39 +02:00
0060-mod-file-change-table.sql Reduce the file-change snapshot taking ratio. 2021-06-11 12:36:21 +02:00
0061-mod-file-table.sql 🎉 Add file offloading to external storage mechanism. 2021-06-14 15:41:27 +02:00
0062-fix-metadata-media.sql 🐛 Fix typos in backend 2021-11-15 09:53:10 -05:00
0063-add-share-link-table.sql 🎉 Share link & pages on viewer. 2021-08-18 16:54:56 +02:00
0064-mod-audit-log-table.sql ♻️ Enable receiving frontend audit log on backend. 2021-08-25 14:01:43 +02:00
0065-add-trivial-spelling-fixes.sql 📎 Adapt migrations file. 2021-11-23 14:19:48 +01:00
0066-add-frame-thumbnail-table.sql Move the dashboard grid thumbnails to backend cache 2022-03-28 17:24:52 +02:00
0067-add-team-invitation-table.sql ♻️ Refactor backend to be more async friendly 2022-03-03 16:05:52 +01:00
0068-mod-storage-object-table.sql ♻️ Refactor backend to be more async friendly 2022-03-03 16:05:52 +01:00
0069-add-file-thumbnail-table.sql Move the dashboard grid thumbnails to backend cache 2022-03-28 17:24:52 +02:00
0070-del-frame-thumbnail-table.sql 🎉 Add generic file object thumbnail abstraction 2022-04-05 13:23:39 +02:00
0071-add-file-object-thumbnail-table.sql 🎉 Add generic file object thumbnail abstraction 2022-04-05 13:23:39 +02:00
0072-mod-file-object-thumbnail-table.sql 🐛 Fix problem with duplicated ids for thumbnails 2022-05-09 15:37:47 +02:00
0073-mod-file-media-object-constraints.sql 🎉 Add binfile import/export internal functionality 2022-06-27 11:12:00 +02:00
0074-mod-file-library-rel-constraints.sql 🎉 Add binfile import/export internal functionality 2022-06-27 11:12:00 +02:00
0075-mod-share-link-table.sql 🐛 Fix share link migration for backward compatibilty 2022-06-29 12:30:17 +02:00
0076-mod-storage-object-table.sql 🎉 Add migration for fix legacy storage object backend names 2022-07-27 12:55:43 +02:00
0077-mod-comment-thread-table.sql Move comments 2022-08-01 09:53:55 +02:00
0078-mod-file-media-object-table-drop-cascade.sql 🎉 Add migration for remove on cascade action on file-media-object table 2022-08-11 17:31:32 +02:00
0079-mod-profile-table.sql 🎉 Add the ability to completly block access to a profile 2022-09-28 09:45:43 +02:00
0080-mod-index-names.sql Add deleted at index to file table 2022-10-18 15:49:18 +02:00
0081-add-deleted-at-index-to-file-table.sql Add deleted at index to file table 2022-10-18 15:49:18 +02:00
0082-add-features-column-to-file-table.sql Integrate objects-map and introduce file feature flags 2022-10-18 15:49:18 +02:00
0083-add-file-data-fragment-table.sql 🎉 Integrate storage/pointer-map file feature 2022-11-08 13:02:14 +01:00
0084-add-features-column-to-file-change-table.sql 🎉 Integrate storage/pointer-map file feature 2022-11-08 13:02:14 +01:00
0085-add-webhook-table.sql 🎉 Add webhooks rpc API 2022-12-05 15:20:29 +01:00
0086-add-webhook-delivery-table.sql 🎉 Add webhook processing worker 2022-12-13 16:17:31 +01:00
0087-mod-task-table.sql 🎉 Add task deduplication by label 2022-12-13 23:13:11 +01:00
0088-mod-team-profile-rel-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0089-mod-project-profile-rel-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0090-mod-http-session-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0091-mod-team-project-profile-rel-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0092-mod-team-invitation-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0093-del-file-share-tokens-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0094-del-profile-attr-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0095-del-storage-data-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0096-del-storage-pending-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
0097-mod-profile-table.sql ♻️ Add admin facilities on the code base 2022-12-22 16:42:45 +01:00
XXXX-drop-obsolete-tables.sql 🐛 Fix typos in backend 2021-11-15 09:53:10 -05:00