Execute SQL queries
Run the provided SQL queries to create tables.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user