diff options
-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> |