Se cambiaron las columnas de bibliografia_asignatura
Se quitó la columna tipo_fuente y se renombró 'biblioteca_item_id' porque ahora se utilizarán las columnas referencia_bibliografia y referencia_en_linea para determinar el tipo de fuente
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
export type Json =
|
export type Json =
|
||||||
| string
|
| string
|
||||||
| number
|
| number
|
||||||
| boolean
|
| boolean
|
||||||
@@ -263,35 +263,35 @@ export type Database = {
|
|||||||
Row: {
|
Row: {
|
||||||
actualizado_en: string
|
actualizado_en: string
|
||||||
asignatura_id: string
|
asignatura_id: string
|
||||||
biblioteca_item_id: string | null
|
|
||||||
cita: string
|
cita: string
|
||||||
creado_en: string
|
creado_en: string
|
||||||
creado_por: string | null
|
creado_por: string | null
|
||||||
id: string
|
id: string
|
||||||
|
referencia_biblioteca: string | null
|
||||||
|
referencia_en_linea: string | null
|
||||||
tipo: Database["public"]["Enums"]["tipo_bibliografia"]
|
tipo: Database["public"]["Enums"]["tipo_bibliografia"]
|
||||||
tipo_fuente: Database["public"]["Enums"]["tipo_fuente_bibliografia"]
|
|
||||||
}
|
}
|
||||||
Insert: {
|
Insert: {
|
||||||
actualizado_en?: string
|
actualizado_en?: string
|
||||||
asignatura_id: string
|
asignatura_id: string
|
||||||
biblioteca_item_id?: string | null
|
|
||||||
cita: string
|
cita: string
|
||||||
creado_en?: string
|
creado_en?: string
|
||||||
creado_por?: string | null
|
creado_por?: string | null
|
||||||
id?: string
|
id?: string
|
||||||
|
referencia_biblioteca?: string | null
|
||||||
|
referencia_en_linea?: string | null
|
||||||
tipo: Database["public"]["Enums"]["tipo_bibliografia"]
|
tipo: Database["public"]["Enums"]["tipo_bibliografia"]
|
||||||
tipo_fuente?: Database["public"]["Enums"]["tipo_fuente_bibliografia"]
|
|
||||||
}
|
}
|
||||||
Update: {
|
Update: {
|
||||||
actualizado_en?: string
|
actualizado_en?: string
|
||||||
asignatura_id?: string
|
asignatura_id?: string
|
||||||
biblioteca_item_id?: string | null
|
|
||||||
cita?: string
|
cita?: string
|
||||||
creado_en?: string
|
creado_en?: string
|
||||||
creado_por?: string | null
|
creado_por?: string | null
|
||||||
id?: string
|
id?: string
|
||||||
|
referencia_biblioteca?: string | null
|
||||||
|
referencia_en_linea?: string | null
|
||||||
tipo?: Database["public"]["Enums"]["tipo_bibliografia"]
|
tipo?: Database["public"]["Enums"]["tipo_bibliografia"]
|
||||||
tipo_fuente?: Database["public"]["Enums"]["tipo_fuente_bibliografia"]
|
|
||||||
}
|
}
|
||||||
Relationships: [
|
Relationships: [
|
||||||
{
|
{
|
||||||
@@ -474,6 +474,7 @@ export type Database = {
|
|||||||
estado: Database["public"]["Enums"]["estado_conversacion"]
|
estado: Database["public"]["Enums"]["estado_conversacion"]
|
||||||
id: string
|
id: string
|
||||||
intento_archivado: number
|
intento_archivado: number
|
||||||
|
nombre: string | null
|
||||||
openai_conversation_id: string
|
openai_conversation_id: string
|
||||||
}
|
}
|
||||||
Insert: {
|
Insert: {
|
||||||
@@ -486,6 +487,7 @@ export type Database = {
|
|||||||
estado?: Database["public"]["Enums"]["estado_conversacion"]
|
estado?: Database["public"]["Enums"]["estado_conversacion"]
|
||||||
id?: string
|
id?: string
|
||||||
intento_archivado?: number
|
intento_archivado?: number
|
||||||
|
nombre?: string | null
|
||||||
openai_conversation_id: string
|
openai_conversation_id: string
|
||||||
}
|
}
|
||||||
Update: {
|
Update: {
|
||||||
@@ -498,6 +500,7 @@ export type Database = {
|
|||||||
estado?: Database["public"]["Enums"]["estado_conversacion"]
|
estado?: Database["public"]["Enums"]["estado_conversacion"]
|
||||||
id?: string
|
id?: string
|
||||||
intento_archivado?: number
|
intento_archivado?: number
|
||||||
|
nombre?: string | null
|
||||||
openai_conversation_id?: string
|
openai_conversation_id?: string
|
||||||
}
|
}
|
||||||
Relationships: [
|
Relationships: [
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
alter table "public"."bibliografia_asignatura" drop column "biblioteca_item_id";
|
||||||
|
|
||||||
|
alter table "public"."bibliografia_asignatura" drop column "tipo_fuente";
|
||||||
|
|
||||||
|
alter table "public"."bibliografia_asignatura" add column "referencia_biblioteca" text;
|
||||||
|
|
||||||
|
alter table "public"."bibliografia_asignatura" add column "referencia_en_linea" text;
|
||||||
+1
-1
@@ -12,7 +12,7 @@ SET session_replication_role = replica;
|
|||||||
SET statement_timeout = 0;
|
SET statement_timeout = 0;
|
||||||
SET lock_timeout = 0;
|
SET lock_timeout = 0;
|
||||||
SET idle_in_transaction_session_timeout = 0;
|
SET idle_in_transaction_session_timeout = 0;
|
||||||
SET transaction_timeout = 0;
|
-- SET transaction_timeout = 0; -- Solo funciona en versión 17
|
||||||
SET client_encoding = 'UTF8';
|
SET client_encoding = 'UTF8';
|
||||||
SET standard_conforming_strings = on;
|
SET standard_conforming_strings = on;
|
||||||
SELECT pg_catalog.set_config('search_path', '', false);
|
SELECT pg_catalog.set_config('search_path', '', false);
|
||||||
|
|||||||
Reference in New Issue
Block a user