From 766911263982c0a8999909d3e866ff20b2a96100 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Tue, 12 May 2026 16:43:09 +0400 Subject: [PATCH] Rename migrations and merge some MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Émile Ré --- pkg/coredata/migrations/20260511T122400Z.sql | 15 --------------- ...{20260511T080100Z.sql => 20260512T090100Z.sql} | 0 ...{20260511T081055Z.sql => 20260512T091055Z.sql} | 6 +++++- 3 files changed, 5 insertions(+), 16 deletions(-) delete mode 100644 pkg/coredata/migrations/20260511T122400Z.sql rename pkg/coredata/migrations/{20260511T080100Z.sql => 20260512T090100Z.sql} (100%) rename pkg/coredata/migrations/{20260511T081055Z.sql => 20260512T091055Z.sql} (86%) diff --git a/pkg/coredata/migrations/20260511T122400Z.sql b/pkg/coredata/migrations/20260511T122400Z.sql deleted file mode 100644 index 5a2d62157..000000000 --- a/pkg/coredata/migrations/20260511T122400Z.sql +++ /dev/null @@ -1,15 +0,0 @@ --- Copyright (c) 2026 Probo Inc . --- --- Permission to use, copy, modify, and/or distribute this software for any --- purpose with or without fee is hereby granted, provided that the above --- copyright notice and this permission notice appear in all copies. --- --- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH --- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY --- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, --- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM --- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR --- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR --- PERFORMANCE OF THIS SOFTWARE. - -ALTER TABLE common_third_parties DROP COLUMN description; diff --git a/pkg/coredata/migrations/20260511T080100Z.sql b/pkg/coredata/migrations/20260512T090100Z.sql similarity index 100% rename from pkg/coredata/migrations/20260511T080100Z.sql rename to pkg/coredata/migrations/20260512T090100Z.sql diff --git a/pkg/coredata/migrations/20260511T081055Z.sql b/pkg/coredata/migrations/20260512T091055Z.sql similarity index 86% rename from pkg/coredata/migrations/20260511T081055Z.sql rename to pkg/coredata/migrations/20260512T091055Z.sql index d77ce5ec0..afabe0c0d 100644 --- a/pkg/coredata/migrations/20260511T081055Z.sql +++ b/pkg/coredata/migrations/20260512T091055Z.sql @@ -12,4 +12,8 @@ -- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR -- PERFORMANCE OF THIS SOFTWARE. -ALTER TABLE common_third_parties ADD COLUMN logo_file_id TEXT REFERENCES files(id); +ALTER TABLE + common_third_parties +ADD + COLUMN logo_file_id TEXT REFERENCES files(id), + DROP COLUMN description;