summaryrefslogtreecommitdiff
path: root/model/models_sqlite.go
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-14 23:38:53 +0100
committerRené 'Necoro' Neumann <necoro@necoro.eu>2024-02-14 23:38:53 +0100
commitb3485c78114e505b7bc9c6969afa108ea3f4755c (patch)
tree440b6ac6d2f29074945294a66929d8a12fe30505 /model/models_sqlite.go
parent90acc67af9a7d372be5fa9cab7a34412ce4ad824 (diff)
downloadgosten-b3485c78114e505b7bc9c6969afa108ea3f4755c.tar.gz
gosten-b3485c78114e505b7bc9c6969afa108ea3f4755c.tar.bz2
gosten-b3485c78114e505b7bc9c6969afa108ea3f4755c.zip
Remove sqlite support: the differences with sqlc just get too cumbersome
Diffstat (limited to '')
-rw-r--r--model/models_sqlite.go49
1 files changed, 0 insertions, 49 deletions
diff --git a/model/models_sqlite.go b/model/models_sqlite.go
deleted file mode 100644
index 892cdd7..0000000
--- a/model/models_sqlite.go
+++ /dev/null
@@ -1,49 +0,0 @@
-//go:build sqlite
-
-// Code generated by sqlc. DO NOT EDIT.
-// versions:
-// sqlc v1.25.0
-
-package model
-
-import (
- "database/sql"
- "time"
-)
-
-type Category struct {
- ID int64
- Name string
- ParentID sql.NullInt64
- UserID int64
-}
-
-type ConstExpense struct {
- ID int64
- Description sql.NullString
- Expense interface{}
- Months int64
- Start time.Time
- End time.Time
- PrevID sql.NullInt64
- UserID int64
- CategoryID int64
-}
-
-type SingleExpense struct {
- ID int64
- Description sql.NullString
- Expense interface{}
- Year int64
- Month int64
- Day int64
- UserID int64
- CategoryID int64
-}
-
-type User struct {
- ID int64
- Name string
- Pwd string
- Description sql.NullString
-}