Begin migration to sqlc

This commit is contained in:
2021-11-08 21:32:30 +00:00
parent f019c47d21
commit cf1bc70103
17 changed files with 427 additions and 72 deletions

25
postgres/models.go Normal file
View File

@ -0,0 +1,25 @@
// Code generated by sqlc. DO NOT EDIT.
package postgres
import (
"database/sql"
)
type Budget struct {
ID string
Name string
LastModification sql.NullTime
}
type User struct {
ID sql.NullString
Email sql.NullString
Name sql.NullString
Password sql.NullString
}
type UserBudget struct {
UserID string
BudgetID string
}