chore: update database seed & types

This commit is contained in:
supabot
2026-03-18 22:06:14 +00:00
parent af7a913145
commit 873e1c2612
2 changed files with 7 additions and 31 deletions
+5 -29
View File
@@ -1,4 +1,4 @@
export type Json = export type Json =
| string | string
| number | number
| boolean | boolean
@@ -7,30 +7,10 @@
| Json[] | Json[]
export type Database = { export type Database = {
graphql_public: { // Allows to automatically instantiate createClient with right options
Tables: { // instead of createClient<Database, { PostgrestVersion: 'XX' }>(URL, KEY)
[_ in never]: never __InternalSupabase: {
} PostgrestVersion: "14.1"
Views: {
[_ in never]: never
}
Functions: {
graphql: {
Args: {
extensions?: Json
operationName?: string
query?: string
variables?: Json
}
Returns: Json
}
}
Enums: {
[_ in never]: never
}
CompositeTypes: {
[_ in never]: never
}
} }
public: { public: {
Tables: { Tables: {
@@ -1568,9 +1548,6 @@ export type CompositeTypes<
: never : never
export const Constants = { export const Constants = {
graphql_public: {
Enums: {},
},
public: { public: {
Enums: { Enums: {
estado_asignatura: ["borrador", "revisada", "aprobada", "generando"], estado_asignatura: ["borrador", "revisada", "aprobada", "generando"],
@@ -1630,4 +1607,3 @@ export const Constants = {
}, },
}, },
} as const } as const
+2 -2
View File
@@ -4,7 +4,7 @@ SET session_replication_role = replica;
-- PostgreSQL database dump -- PostgreSQL database dump
-- --
-- \restrict cjN2YYS2KAOqreW9LqhjpXqJRNIzCaVPnayxuuqhyMC8b4dch1tGVQLneKb1Oid -- \restrict JtpN0pcWSvQQiDMZpeDxQumqbjV0WVDxKRJ4t9jRbYXAiev2sg7oCOaOGrRzVfV
-- Dumped from database version 17.6 -- Dumped from database version 17.6
-- Dumped by pg_dump version 17.6 -- Dumped by pg_dump version 17.6
@@ -2893,6 +2893,6 @@ SELECT pg_catalog.setval('"supabase_functions"."hooks_id_seq"', 11, true);
-- PostgreSQL database dump complete -- PostgreSQL database dump complete
-- --
-- \unrestrict cjN2YYS2KAOqreW9LqhjpXqJRNIzCaVPnayxuuqhyMC8b4dch1tGVQLneKb1Oid -- \unrestrict JtpN0pcWSvQQiDMZpeDxQumqbjV0WVDxKRJ4t9jRbYXAiev2sg7oCOaOGrRzVfV
RESET ALL; RESET ALL;