Skip to content

Commit d2b3f7c

Browse files
committed
Commented code unnecessary except for DB demo
1 parent 11463dc commit d2b3f7c

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

Sources/VaporShell/App/configure.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
1515

1616
import Vapor
1717

18-
// UNCOMMENT to use database
19-
import Fluent
20-
import FluentMySQLDriver
18+
// UNCOMMENT-DATABASE to configure database example
19+
// import Fluent
20+
// import FluentMySQLDriver
2121

2222
// configures your application
2323
public func configure(_ app: Application) throws {

Sources/VaporShell/App/routes.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
1414
*/
1515

1616
import Vapor
17-
import Fluent
18-
import FluentMySQLDriver
17+
18+
// UNCOMMENT-DATABASE to configure database example
19+
// import Fluent
20+
// import FluentMySQLDriver
1921

2022
func routes(_ app: Application) throws {
2123

0 commit comments

Comments
 (0)