penpot/backend/src/app/migrations/sql/0119-mod-file-table.sql
Andrey Antukh b718a282e0 ♻️ Add minor refactor to file migrations
Relevant changes:

- Add the ability to create migration in both directions, defaulting
  to identity if not provided
- Move the version attribute to file table column for to make it more
  accessible (previously it was on data blob)
- Reduce db update operations on file-update rpc method
2024-02-19 09:20:47 +01:00

3 lines
52 B
SQL

ALTER TABLE file
ADD COLUMN version integer NULL;