diff options
author | cel 🌸 <cel@blos.sm> | 2024-06-12 10:18:42 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-06-12 10:18:42 +0100 |
commit | 33af90c9cebe74d2ded38abdec1d6739ed91e6c6 (patch) | |
tree | bb1acb0abd30f9865d203148134dfe81a929a816 | |
parent | 04e2740c6f0fd9f1a88429c6df4a212f2f27bb39 (diff) | |
download | pinussy-main.tar.gz pinussy-main.tar.bz2 pinussy-main.zip |
-rw-r--r-- | migrations/20231003193749_pinussy.sql | 1 | ||||
-rw-r--r-- | src/pins.rs | 1 | ||||
-rw-r--r-- | templates/base.rs.html | 1 |
3 files changed, 2 insertions, 1 deletions
diff --git a/migrations/20231003193749_pinussy.sql b/migrations/20231003193749_pinussy.sql index 4ac7474..701d0c6 100644 --- a/migrations/20231003193749_pinussy.sql +++ b/migrations/20231003193749_pinussy.sql @@ -39,7 +39,6 @@ create table board_ownership ( create table pins ( id uuid primary key default gen_random_uuid(), - idname varchar(256), subject varchar(256), notes text, privacy privacy diff --git a/src/pins.rs b/src/pins.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/src/pins.rs @@ -0,0 +1 @@ + diff --git a/templates/base.rs.html b/templates/base.rs.html index 434eb47..84d6a32 100644 --- a/templates/base.rs.html +++ b/templates/base.rs.html @@ -16,6 +16,7 @@ <body> <nav> @if let Some(username) = user { + <a href="/pin/new">create pin</a> <form action="/logout" method="post"> <button type="submit">logout @username</button> </form> |