Skip to content

Commit d2de79f

Browse files
committed
remove comments
1 parent 2c61e62 commit d2de79f

File tree

15 files changed

+1
-30
lines changed

15 files changed

+1
-30
lines changed

Chapter 04/myProject/Sources/App/Modules/Blog/Database/Migrations/BlogMigrations.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ enum BlogMigrations {
3636
}
3737
}
3838

39-
// ...
40-
4139
struct seed: AsyncMigration {
4240

4341
func prepare(on db: Database) async throws {

Chapter 04/myProject/Sources/App/Modules/Blog/Database/Models/BlogCategoryModel.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ final class BlogCategoryModel: DatabaseModelInterface {
66

77
static let identifier = "categories"
88

9-
// ...
10-
119
struct FieldKeys {
1210
struct v1 {
1311
static var title: FieldKey { "title" }

Chapter 05/myProject/Sources/App/Modules/Blog/Database/Migrations/BlogMigrations.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ enum BlogMigrations {
3636
}
3737
}
3838

39-
// ...
40-
4139
struct seed: AsyncMigration {
4240

4341
func prepare(on db: Database) async throws {

Chapter 05/myProject/Sources/App/Modules/Blog/Database/Models/BlogCategoryModel.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ final class BlogCategoryModel: DatabaseModelInterface {
66

77
static let identifier = "categories"
88

9-
// ...
10-
119
struct FieldKeys {
1210
struct v1 {
1311
static var title: FieldKey { "title" }

Chapter 05/myProject/Sources/App/configure.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ public func configure(
1717

1818
app.middleware.use(ExtendPathMiddleware())
1919

20-
// ...
21-
2220
app.sessions.use(.fluent)
2321
app.migrations.add(SessionRecord.migration)
2422
app.middleware.use(app.sessions.middleware)

Chapter 06/myProject/Sources/App/Modules/Blog/Database/Migrations/BlogMigrations.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ enum BlogMigrations {
3636
}
3737
}
3838

39-
// ...
40-
4139
struct seed: AsyncMigration {
4240

4341
func prepare(on db: Database) async throws {

Chapter 06/myProject/Sources/App/Modules/Blog/Database/Models/BlogCategoryModel.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ final class BlogCategoryModel: DatabaseModelInterface {
66

77
static let identifier = "categories"
88

9-
// ...
10-
119
struct FieldKeys {
1210
struct v1 {
1311
static var title: FieldKey { "title" }

Chapter 06/myProject/Sources/App/configure.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ public func configure(
1717

1818
app.middleware.use(ExtendPathMiddleware())
1919

20-
// ...
21-
2220
app.sessions.use(.fluent)
2321
app.migrations.add(SessionRecord.migration)
2422
app.middleware.use(app.sessions.middleware)

Chapter 07/myProject/Sources/App/Modules/Blog/Database/Migrations/BlogMigrations.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ enum BlogMigrations {
3636
}
3737
}
3838

39-
// ...
40-
4139
struct seed: AsyncMigration {
4240

4341
func prepare(on db: Database) async throws {

Chapter 07/myProject/Sources/App/Modules/Blog/Database/Models/BlogCategoryModel.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ final class BlogCategoryModel: DatabaseModelInterface {
66

77
static let identifier = "categories"
88

9-
// ...
10-
119
struct FieldKeys {
1210
struct v1 {
1311
static var title: FieldKey { "title" }

0 commit comments

Comments
 (0)