Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore:misc cleanup #238

Merged
merged 2 commits into from
Sep 22, 2023
Merged

chore:misc cleanup #238

merged 2 commits into from
Sep 22, 2023

Conversation

CommanderStorm
Copy link
Member

This PR remvoes an unused roomfinder stub and fixes the naming of File

@CommanderStorm CommanderStorm enabled auto-merge (squash) September 22, 2023 13:55
@CommanderStorm CommanderStorm merged commit 38bede6 into main Sep 22, 2023
3 checks passed
@CommanderStorm CommanderStorm deleted the chore/misc-cleenup branch September 22, 2023 13:59

// TableName sets the insert table name for this struct type
func (f *Files) TableName() string {
return "files"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you manually rename the table here? What about the old backend?!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, the table was not renamed.
See https://gorm.io/docs/conventions.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants