diff --git a/Package.swift b/Package.swift index 5d7e459..c2db04b 100644 --- a/Package.swift +++ b/Package.swift @@ -3,7 +3,7 @@ import PackageDescription let package = Package( name: "FluentSQLite", dependencies: [ - .Package(url: "https://github.com/vapor/sqlite.git", Version(0,0,0)), + .Package(url: "https://github.com/vapor/sqlite.git", Version(2,0,0, prereleaseIdentifiers: ["alpha"])), .Package(url: "https://github.com/vapor/fluent.git", Version(2,0,0, prereleaseIdentifiers: ["alpha"])), ] ) diff --git a/Tests/FluentSQLiteTests/Utilities/Atom.swift b/Tests/FluentSQLiteTests/Utilities/Atom.swift deleted file mode 100644 index 570a5c7..0000000 --- a/Tests/FluentSQLiteTests/Utilities/Atom.swift +++ /dev/null @@ -1,42 +0,0 @@ -//import FluentTester -// -//final class Atom: Entity { -// var id: Node? -// var name: String -// var protons: Int -// var exists: Bool = false -// -// init(name: String, protons: Int) { -// self.name = name -// self.protons = protons -// } -// -// init(node: Node, in context: Context) throws { -// id = try node.extract("id") -// name = try node.extract("name") -// protons = try node.extract("protons") -// } -// -// func makeNode(context: Context) throws -> Node { -// return try Node(node: [ -// "id": id, -// "name": name, -// "protons": protons -// ]) -// } -// -// func compounds() throws -> Siblings> { -// return siblings() -// } -// -// static func prepare(_ database: Fluent.Database) throws { -// try database.create(entity) { builder in -// builder.id(for: self) -// builder.string("name") -// builder.int("protons") -// } -// } -// static func revert(_ database: Fluent.Database) throws { -// try database.delete(entity) -// } -//} diff --git a/Tests/FluentSQLiteTests/Utilities/Compound.swift b/Tests/FluentSQLiteTests/Utilities/Compound.swift deleted file mode 100644 index 5dac832..0000000 --- a/Tests/FluentSQLiteTests/Utilities/Compound.swift +++ /dev/null @@ -1,33 +0,0 @@ -//import Fluent -// -//final class Compound: Entity { -// var id: Node? -// var name: String -// var exists: Bool = false -// -// init(name: String) { -// self.name = name -// } -// -// init(node: Node, in context: Context) throws { -// id = try node.extract("id") -// name = try node.extract("name") -// } -// -// func makeNode(context:Context) throws -> Node { -// return try Node(node: [ -// "id": id, -// "name": name -// ]) -// } -// -// static func prepare(_ database: Fluent.Database) throws { -// try database.create(entity) { builder in -// builder.id() -// builder.string("name") -// } -// } -// static func revert(_ database: Fluent.Database) throws { -// try database.delete(entity) -// } -//}