Author: Not specified Language: javascript
Description: (v40) Timestamp: 2018-06-17 17:14:36 +0000
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply
try services.register(FluentSQLiteProvider())

var databases = DatabasesConfig()
try databases.add(database: SQLiteDatabase(storage: .memory),
                  as: .sqlite)
services.register(databases)

var migrations = MigrationConfig()
migrations.add(model: Acronym.self, database: .sqlite)
services.register(migrations)
View raw paste Parent paste by: Not specified - Child paste by: Not specified Reply