No puede seleccionar más de 25 temas
Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
|
- //
- // File.swift
- //
- //
- // Created by Michiel Carman on 4/11/24.
- //
-
- import NIOSSL
- import Fluent
- import FluentPostgresDriver
- import Vapor
-
- public func doMigrations(_ app: Application) async throws{
-
- app.migrations.add(mdlAssociate.Create())
- app.migrations.add(mdlDepartment.Create())
- app.migrations.add(mdlDepartment.AddParentReference())
- app.migrations.add(mdlDocType.Create())
- app.migrations.add(mdlDocument.Create())
- app.migrations.add(mdlXAssocDept.Create())
- app.migrations.add(mdlXDocDept.Create())
- app.migrations.add(mdlDocument.tmpField())
- app.migrations.add(mdlAssociate.Mod1())
-
- try await app.autoMigrate()
- }
|