{
  "version": "5",
  "dialect": "mysql",
  "id": "24bdbe9f-16e3-46c8-9029-2754d54d568e",
  "prevId": "00000000-0000-0000-0000-000000000000",
  "tables": {
    "Account": {
      "name": "Account",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "userId": {
          "name": "userId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "type": {
          "name": "type",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "provider": {
          "name": "provider",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "providerAccountId": {
          "name": "providerAccountId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "refresh_token": {
          "name": "refresh_token",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "access_token": {
          "name": "access_token",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "expires_at": {
          "name": "expires_at",
          "type": "int",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "token_type": {
          "name": "token_type",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "scope": {
          "name": "scope",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "id_token": {
          "name": "id_token",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "session_state": {
          "name": "session_state",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Account_id": {
          "name": "Account_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Asistencia": {
      "name": "Asistencia",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "inscripcionId": {
          "name": "inscripcionId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "claseId": {
          "name": "claseId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "asistio": {
          "name": "asistio",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        },
        "fecha": {
          "name": "fecha",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "observacion": {
          "name": "observacion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "pagoDebe": {
          "name": "pagoDebe",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Asistencia_id": {
          "name": "Asistencia_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "CategoriaMaster": {
      "name": "CategoriaMaster",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "nombre": {
          "name": "nombre",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "descripcion": {
          "name": "descripcion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "icono": {
          "name": "icono",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "enPortada": {
          "name": "enPortada",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "CategoriaMaster_id": {
          "name": "CategoriaMaster_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "ChatConversacion": {
      "name": "ChatConversacion",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "profesorId": {
          "name": "profesorId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "asunto": {
          "name": "asunto",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'General'"
        },
        "isOpen": {
          "name": "isOpen",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "ChatConversacion_id": {
          "name": "ChatConversacion_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "ChatMensaje": {
      "name": "ChatMensaje",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "conversacionId": {
          "name": "conversacionId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "senderId": {
          "name": "senderId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "contenido": {
          "name": "contenido",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "read": {
          "name": "read",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "readAt": {
          "name": "readAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "ChatMensaje_id": {
          "name": "ChatMensaje_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Clase": {
      "name": "Clase",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "cursoId": {
          "name": "cursoId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "profesorId": {
          "name": "profesorId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "titulo": {
          "name": "titulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "descripcion": {
          "name": "descripcion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "fechaInicio": {
          "name": "fechaInicio",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "fechaFin": {
          "name": "fechaFin",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "horasDadas": {
          "name": "horasDadas",
          "type": "double",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": 0
        },
        "estado": {
          "name": "estado",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'PROGRAMADA'"
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "contenido": {
          "name": "contenido",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "duracionHoras": {
          "name": "duracionHoras",
          "type": "double",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": 2
        },
        "materialesNecesarios": {
          "name": "materialesNecesarios",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "modalidad": {
          "name": "modalidad",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'MIXTA'"
        },
        "numero": {
          "name": "numero",
          "type": "int",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": 1
        },
        "requisitos": {
          "name": "requisitos",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "activo": {
          "name": "activo",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Clase_id": {
          "name": "Clase_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Colegio": {
      "name": "Colegio",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "nombre": {
          "name": "nombre",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "ubicacion": {
          "name": "ubicacion",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "logoUrl": {
          "name": "logoUrl",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "whatsapp": {
          "name": "whatsapp",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "email": {
          "name": "email",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "telefono": {
          "name": "telefono",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "activo": {
          "name": "activo",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        },
        "color": {
          "name": "color",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false,
          "default": "'#1e2a47'"
        },
        "requisitosInscripcion": {
          "name": "requisitosInscripcion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Colegio_id": {
          "name": "Colegio_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Curso": {
      "name": "Curso",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "titulo": {
          "name": "titulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "categoria": {
          "name": "categoria",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "precio": {
          "name": "precio",
          "type": "double",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "fechaInicio": {
          "name": "fechaInicio",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "fechaFinalizacion": {
          "name": "fechaFinalizacion",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "fotosClausura": {
          "name": "fotosClausura",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "esTeoricoPractico": {
          "name": "esTeoricoPractico",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "lugarPracticas": {
          "name": "lugarPracticas",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "incluyeMateriales": {
          "name": "incluyeMateriales",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "matriculaMax": {
          "name": "matriculaMax",
          "type": "int",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "inscritosCount": {
          "name": "inscritosCount",
          "type": "int",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": 0
        },
        "detallesGraduacion": {
          "name": "detallesGraduacion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "certificadoInfo": {
          "name": "certificadoInfo",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "categoriaMasterId": {
          "name": "categoriaMasterId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "horaEntrada": {
          "name": "horaEntrada",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "horaSalida": {
          "name": "horaSalida",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "mostrarPrecio": {
          "name": "mostrarPrecio",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        },
        "descripcion": {
          "name": "descripcion",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "duracionSemanas": {
          "name": "duracionSemanas",
          "type": "int",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "requisitos": {
          "name": "requisitos",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "tipoCobro": {
          "name": "tipoCobro",
          "type": "enum('GRATIS','PAGO','COLABORACION')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'PAGO'"
        },
        "activo": {
          "name": "activo",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Curso_id": {
          "name": "Curso_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "CursoInstructor": {
      "name": "CursoInstructor",
      "columns": {
        "cursoId": {
          "name": "cursoId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "instructorId": {
          "name": "instructorId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "CursoInstructor_cursoId_instructorId_pk": {
          "name": "CursoInstructor_cursoId_instructorId_pk",
          "columns": [
            "cursoId",
            "instructorId"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Inscripcion": {
      "name": "Inscripcion",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "userId": {
          "name": "userId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "cursoId": {
          "name": "cursoId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "estadoFlujo": {
          "name": "estadoFlujo",
          "type": "enum('PENDIENTE_CONTACTAR','CONTACTADO','REGISTRADO_PAGO','INSCRITO')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'PENDIENTE_CONTACTAR'"
        },
        "comprobantePagoUrl": {
          "name": "comprobantePagoUrl",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "estadoPago": {
          "name": "estadoPago",
          "type": "enum('PENDIENTE','APROBADO','RECHAZADO')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'PENDIENTE'"
        },
        "fechaInscripcion": {
          "name": "fechaInscripcion",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Inscripcion_id": {
          "name": "Inscripcion_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Material": {
      "name": "Material",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "cursoId": {
          "name": "cursoId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "titulo": {
          "name": "titulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "urlArchivo": {
          "name": "urlArchivo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "tipo": {
          "name": "tipo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "modulo": {
          "name": "modulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Material_id": {
          "name": "Material_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "MensajeContacto": {
      "name": "MensajeContacto",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "nombre": {
          "name": "nombre",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "email": {
          "name": "email",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "telefono": {
          "name": "telefono",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "mensaje": {
          "name": "mensaje",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "leido": {
          "name": "leido",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "MensajeContacto_id": {
          "name": "MensajeContacto_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Noticia": {
      "name": "Noticia",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "titulo": {
          "name": "titulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "contenido": {
          "name": "contenido",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "resumen": {
          "name": "resumen",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "imagenUrl": {
          "name": "imagenUrl",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "publicado": {
          "name": "publicado",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "autorId": {
          "name": "autorId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "activo": {
          "name": "activo",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Noticia_id": {
          "name": "Noticia_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Notificacion": {
      "name": "Notificacion",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "titulo": {
          "name": "titulo",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "mensaje": {
          "name": "mensaje",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "cursoId": {
          "name": "cursoId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "userId": {
          "name": "userId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "leido": {
          "name": "leido",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Notificacion_id": {
          "name": "Notificacion_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "ReportePago": {
      "name": "ReportePago",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "inscripcionId": {
          "name": "inscripcionId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "monto": {
          "name": "monto",
          "type": "double",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "referencia": {
          "name": "referencia",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "fechaPago": {
          "name": "fechaPago",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "comprobanteUrl": {
          "name": "comprobanteUrl",
          "type": "text",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "concepto": {
          "name": "concepto",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'INSCRIPCION'"
        },
        "estado": {
          "name": "estado",
          "type": "enum('PENDIENTE','APROBADO','RECHAZADO')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'PENDIENTE'"
        },
        "observaciones": {
          "name": "observaciones",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "ReportePago_id": {
          "name": "ReportePago_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "Session": {
      "name": "Session",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "sessionToken": {
          "name": "sessionToken",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "userId": {
          "name": "userId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "expires": {
          "name": "expires",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "Session_id": {
          "name": "Session_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "User": {
      "name": "User",
      "columns": {
        "id": {
          "name": "id",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "name": {
          "name": "name",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "email": {
          "name": "email",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "password": {
          "name": "password",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "role": {
          "name": "role",
          "type": "enum('SUPERADMIN','ADMIN_COLEGIO','PROFESOR','ESTUDIANTE')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'ESTUDIANTE'"
        },
        "status": {
          "name": "status",
          "type": "enum('SOLVENTE','MOROSO','PENDIENTE')",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "'SOLVENTE'"
        },
        "telefono": {
          "name": "telefono",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "edad": {
          "name": "edad",
          "type": "int",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "representanteNombre": {
          "name": "representanteNombre",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "representanteTelefono": {
          "name": "representanteTelefono",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "colegioId": {
          "name": "colegioId",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "createdAt": {
          "name": "createdAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": "CURRENT_TIMESTAMP(3)"
        },
        "updatedAt": {
          "name": "updatedAt",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "direccion": {
          "name": "direccion",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "observaciones": {
          "name": "observaciones",
          "type": "text",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "apellido": {
          "name": "apellido",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "cedula": {
          "name": "cedula",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "representanteParentesco": {
          "name": "representanteParentesco",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": false,
          "autoincrement": false
        },
        "activo": {
          "name": "activo",
          "type": "boolean",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false,
          "default": true
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "User_id": {
          "name": "User_id",
          "columns": [
            "id"
          ]
        }
      },
      "uniqueConstraints": {},
      "checkConstraint": {}
    },
    "VerificationToken": {
      "name": "VerificationToken",
      "columns": {
        "identifier": {
          "name": "identifier",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "token": {
          "name": "token",
          "type": "varchar(191)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        },
        "expires": {
          "name": "expires",
          "type": "datetime(3)",
          "primaryKey": false,
          "notNull": true,
          "autoincrement": false
        }
      },
      "indexes": {},
      "foreignKeys": {},
      "compositePrimaryKeys": {
        "VerificationToken_identifier_token_pk": {
          "name": "VerificationToken_identifier_token_pk",
          "columns": [
            "identifier",
            "token"
          ]
        }
      },
      "uniqueConstraints": {
        "VerificationToken_token_unique": {
          "name": "VerificationToken_token_unique",
          "columns": [
            "token"
          ]
        }
      },
      "checkConstraint": {}
    }
  },
  "views": {},
  "_meta": {
    "schemas": {},
    "tables": {},
    "columns": {}
  },
  "internal": {
    "tables": {},
    "indexes": {}
  }
}