From 60eb2e7fe5ed3627ad4bd40286df1741529da75b Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Thu, 25 Jan 2024 02:47:26 -0500 Subject: update hooks to more identifiable names, update migrations to work with votes, use a common enum state type --- src/models/boil_table_names.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/models/boil_table_names.go') diff --git a/src/models/boil_table_names.go b/src/models/boil_table_names.go index 29a98ba..88dcf55 100644 --- a/src/models/boil_table_names.go +++ b/src/models/boil_table_names.go @@ -4,13 +4,17 @@ package models var TableNames = struct { + Comments string PostTags string Posts string Tags string Users string + Votes string }{ + Comments: "comments", PostTags: "post_tags", Posts: "posts", Tags: "tags", Users: "users", + Votes: "votes", } -- cgit v1.2.3