removed un needed custom id's from table definitions

This commit is contained in:
Leyla Becker 2025-03-29 20:48:40 -05:00
parent e0175de85f
commit b82e792029

View file

@ -10,7 +10,7 @@ import (
"github.com/vingarcia/ksql/adapters/kpgx"
)
var ProductsTable = ksql.NewTable("products", "product_id")
var ProductsTable = ksql.NewTable("products")
type Product struct {
id int `ksql:"id"`
@ -19,7 +19,7 @@ type Product struct {
created_at time.Time `ksql:"created_at,timeNowUTC"`
}
var UserClaimsTable = ksql.NewTable("user_claims", "user_claim_id")
var UserClaimsTable = ksql.NewTable("user_claims")
type UserClaim struct {
id int `ksql:"id"`
@ -39,7 +39,7 @@ const (
IngredientsList
)
var AutomatedClaimsTable = ksql.NewTable("automated_claims", "automated_claim_id")
var AutomatedClaimsTable = ksql.NewTable("automated_claims")
type AutomatedClaim struct {
id int `ksql:"id"`