-
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.
feat: init hello-world-with-a-plugin project
- Loading branch information
Showing
7 changed files
with
21 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
## Some demo projects utilizing Jet 2.0 | ||
|
||
### hello-world-with-a-plugin | ||
|
||
A simple project that calls a plugin's API. |
Empty file.
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 @@ | ||
{} |
Empty file.
Empty file.
9 changes: 9 additions & 0 deletions
9
projects/hello-world-with-a-plugin/.jet/migrations/1_create_posts.sql
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,9 @@ | ||
-- migrate:up | ||
CREATE TABLE posts ( | ||
id SERIAL PRIMARY KEY, | ||
title VARCHAR(64) NOT NULL, | ||
body TEXT NOT NULL | ||
); | ||
|
||
-- migrate:down | ||
DROP TABLE posts; |
7 changes: 7 additions & 0 deletions
7
projects/hello-world-with-a-plugin/.jet/migrations/2_create_subscriptions.sql
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,7 @@ | ||
-- migrate:up | ||
CREATE TABLE subscriptions ( | ||
phone VARCHAR(11) NOT NULL | ||
); | ||
|
||
-- migrate:down | ||
DROP TABLE subscriptions; |