VaporSpices

master

Vapor 3 Package for pre-populating any database with Spice related data.
mihaelamj/VaporSpices

VaporSpices

Vapor 3 Package for pre-populating any database with Spice related data.

Import it into your project:

let package = Package(name: "TestVaporSpices",
dependencies: [      
//VaporSpices
  .package(url: "https://github.com/mihaelamj/VaporSpices", from: "0.1.0")
],
targets: [
  .target(name: "App", dependencies: ["FluentSQLite", "FluentMySQL", "FluentPostgreSQL", "VaporSpices"]),
]
)

Usage (for MySQL) :

import VaporSpices

migrations.addVaporSpices(for: .mysql)

Usage (for PostgreSQL) :

import VaporSpices

migrations.addVaporSpices(for: .psql)

Usage (for SQLite) :

import VaporSpices

migrations.addVaporSpices(for: .sqlite)

Description

  • Swift Tools 4.0.0
View More Packages from this Author

Dependencies

Last updated: Wed Nov 09 2022 01:43:23 GMT-0500 (GMT-05:00)