refactor: unified migrations and Tag* ID Changes #29

Merged
SoXX merged 5 commits from feature/v6 into main 2025-01-28 13:18:02 +00:00
Owner
  • unified the migrations
  • added new IDs for Tag, TagAlias, TagGroup
  • changed relevant functions to use the given IDs

BREAKING-CHANGE: Database needs to be cleared or migrated. Not compatible with Database v5

- unified the migrations - added new IDs for Tag, TagAlias, TagGroup - changed relevant functions to use the given IDs **BREAKING-CHANGE**: Database needs to be cleared or migrated. Not compatible with Database v5
SoXX added 1 commit 2025-01-28 12:29:02 +00:00
refactor: unified migrations and Tag* ID Changes
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m8s
6f814e5b21
- unified the migrations
- added new IDs for Tag, TagAlias, TagGroup
- changed relevant functions to use the given IDs

BREAKING-CHANGE: Database needs to be cleared or migrated. Not compatible with Database v5
SoXX requested review from Alphyron 2025-01-28 12:29:03 +00:00
SoXX added 1 commit 2025-01-28 12:41:22 +00:00
feat(database): add ON DELETE CASCADE constraints
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 3m5s
ecbf139a9b
Alphyron requested changes 2025-01-28 12:54:12 +00:00
Dismissed
@ -19,1 +19,3 @@
TagID TagName `json:"tag_id"`
ID TagAliasID `json:"id" gorm:"primaryKey"`
Name TagAliasName `json:"name"`
TagID TagID `json:"tag_name"`
Owner

tag id not tag name in json

tag id not tag name in json
Alphyron marked this conversation as resolved
SoXX added 1 commit 2025-01-28 12:59:51 +00:00
feat: add hard delete option to delete functions
Some checks failed
Gitea Build Check / Build (pull_request) Failing after 31s
c9b0c71bef
SoXX added 2 commits 2025-01-28 13:05:57 +00:00
fix: incorrect struct field names for TagAlias and TagGroup
All checks were successful
Gitea Build Check / Build (pull_request) Successful in 2m56s
Gitea Build Check / Build (push) Successful in 2m56s
6f7c89a76b
Alphyron approved these changes 2025-01-28 13:11:12 +00:00
SoXX merged commit 6f7c89a76b into main 2025-01-28 13:18:02 +00:00
SoXX deleted branch feature/v6 2025-01-28 13:18:02 +00:00
Sign in to join this conversation.
No description provided.