Skip to content

Commit

Permalink
sqlboiler add unused columns to blacklist.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarrett committed Sep 26, 2024
1 parent e854b43 commit 9e27555
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 34 deletions.
8 changes: 8 additions & 0 deletions init/.sqlboiler.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@ port = 5432
user = "root"
pass = "example"
sslmode = "disable"
# These columns should be set for removal in the database schema
blacklist = [
"files.dosee_no_aspect_ratio_fix",
"files.file_integrity_weak",
"files.preview_image",
"files.retrotxt_no_readme",
"files.updatedby",
]

[auto-columns]
created = "createdat"
Expand Down
36 changes: 2 additions & 34 deletions internal/postgres/models/files.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9e27555

Please sign in to comment.