Execute SQL queries

Run the provided SQL queries to create tables.
This commit is contained in:
gpt-engineer-app[bot]
2025-03-15 16:34:20 +00:00
parent 1136683b57
commit af52ec897f
5 changed files with 247 additions and 55 deletions

View File

@@ -9,7 +9,108 @@ export type Json =
export type Database = {
public: {
Tables: {
[_ in never]: never
budgets: {
Row: {
categories: Json
created_at: string | null
id: string
month: number
total_budget: number
updated_at: string | null
user_id: string
year: number
}
Insert: {
categories?: Json
created_at?: string | null
id?: string
month: number
total_budget?: number
updated_at?: string | null
user_id: string
year: number
}
Update: {
categories?: Json
created_at?: string | null
id?: string
month?: number
total_budget?: number
updated_at?: string | null
user_id?: string
year?: number
}
Relationships: []
}
category_budgets: {
Row: {
amount: number
category: string
created_at: string | null
id: string
updated_at: string | null
user_id: string
}
Insert: {
amount?: number
category: string
created_at?: string | null
id?: string
updated_at?: string | null
user_id: string
}
Update: {
amount?: number
category?: string
created_at?: string | null
id?: string
updated_at?: string | null
user_id?: string
}
Relationships: []
}
transactions: {
Row: {
amount: number
category: string
created_at: string | null
date: string | null
id: string
notes: string | null
title: string
transaction_id: string | null
type: string
updated_at: string | null
user_id: string
}
Insert: {
amount: number
category: string
created_at?: string | null
date?: string | null
id?: string
notes?: string | null
title: string
transaction_id?: string | null
type: string
updated_at?: string | null
user_id: string
}
Update: {
amount?: number
category?: string
created_at?: string | null
date?: string | null
id?: string
notes?: string | null
title?: string
transaction_id?: string | null
type?: string
updated_at?: string | null
user_id?: string
}
Relationships: []
}
}
Views: {
[_ in never]: never