Skip to content

Commit f1176c2

Browse files
committed
update readme with correct link
1 parent 5909912 commit f1176c2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ It also demonstrates how to create database migrations with the [knex.js](http:/
77

88
<h3 align="center">Please help this repo with a ⭐️ if you find it useful! 😁</h3>
99

10-
This repository is contains the code for the [Node knex.js tutorial on Youtube](https://www.youtube.com/playlist?list=PL1Nml43UBm6eTkjJtAPfdfjk-x2I_1r-Y)
10+
This repository is contains the code for the [Node knex.js tutorial on Youtube](https://www.youtube.com/watch?v=wfrn21E2NaU)
1111

12-
[![Test Node with Docker](images/node-knex-js-tutorial.png)](https://www.youtube.com/playlist?list=PL1Nml43UBm6eTkjJtAPfdfjk-x2I_1r-Y)
12+
[![Test Node with Docker](images/node-knex-js-tutorial.png)](https://www.youtube.com/watch?v=wfrn21E2NaU)
1313

1414

1515

db/migrations/20210123135419_init.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// npx knex migrate:make init --migrations-directory db/migrations
12
exports.up = function (knex) {
23
return knex.schema.createTable('person', (table) => {
34
table.increments('id');

index.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,3 @@ app.use(router);
77

88
app.listen(8080, () => console.log('server listening on port 8080'));
99

10-
11-
// npx knex
12-
// npx knex migrate:make init --migrations-directory db/migrations

0 commit comments

Comments
 (0)