From 3a4de13528fc85dcbe6bc9055d97ba5cc87f5712 Mon Sep 17 00:00:00 2001
From: benj <benj@rse8.com>
Date: Thu, 8 Dec 2022 11:16:32 -0800
Subject: update schema to `secd` add dummy `dev` command to cli

---
 crates/secd/store/pg/sql/write_session.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'crates/secd/store/pg/sql/write_session.sql')

diff --git a/crates/secd/store/pg/sql/write_session.sql b/crates/secd/store/pg/sql/write_session.sql
index cd5892b..86cde55 100644
--- a/crates/secd/store/pg/sql/write_session.sql
+++ b/crates/secd/store/pg/sql/write_session.sql
@@ -1,4 +1,4 @@
-insert into auth.session (
+insert into secd.session (
        identity_id
        , secret_hash
        , created_at
@@ -6,7 +6,7 @@ insert into auth.session (
        , expires_at
        , revoked_at
 ) values (
-         (select identity_id from auth.identity where identity_public_id = $1)
+         (select identity_id from secd.identity where identity_public_id = $1)
        , $2
        , $3
        , $4
-- 
cgit v1.2.3

