feat: connect to db

This commit is contained in:
Rogee
2024-11-28 16:15:08 +08:00
parent 857c23408b
commit 721058b0a9
19 changed files with 706 additions and 61 deletions

View File

@@ -0,0 +1,15 @@
//
// Code generated by go-jet DO NOT EDIT.
//
// WARNING: Changes to this file may cause incorrect behavior
// and will be lost if the code is regenerated
//
package table
// UseSchema sets a new schema name for all generated table SQL builder types. It is recommended to invoke
// this method only once at the beginning of the program.
func UseSchema(schema string) {
ChannelMessages = ChannelMessages.FromSchema(schema)
Channels = Channels.FromSchema(schema)
}