-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7286d33
commit 59472d6
Showing
6 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
/target | ||
.env | ||
/docker-volumes | ||
/docker-volumes | ||
wisdoms.json | ||
encoded-wisdoms.b64 | ||
decoded-wisdoms.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
base64 -d encoded-wisdoms.b64 > decoded-wisdoms.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
base64 wisdoms.json > encoded-wisdoms.b64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
BEGIN TRANSACTION; | ||
|
||
INSERT INTO wisdoms (id, description) VALUES (1, 'Patience is a virtue.'); | ||
INSERT INTO wisdoms (id, description) VALUES (2, 'Knowledge is power.'); | ||
INSERT INTO wisdoms (id, description) VALUES (3, 'Time is money.'); | ||
INSERT INTO wisdoms (description) VALUES ('Patience is a virtue.'); | ||
INSERT INTO wisdoms (description) VALUES ('Knowledge is power.'); | ||
INSERT INTO wisdoms (description) VALUES ('Time is money.'); | ||
|
||
COMMIT; |