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: Sat Oct 19 2024 01:22:09 GMT-0900 (Hawaii-Aleutian Daylight Time)