25'ten fazla konu seçemezsiniz
Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
|
- //
- // 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()
- }
|