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_email.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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

diff --git a/crates/secd/store/pg/sql/write_email.sql b/crates/secd/store/pg/sql/write_email.sql
index 75fc494..cdcc971 100644
--- a/crates/secd/store/pg/sql/write_email.sql
+++ b/crates/secd/store/pg/sql/write_email.sql
@@ -1,11 +1,11 @@
-insert into auth.email (
+insert into secd.email (
        address
 ) values (
        $1
 ) on conflict (address) do nothing
 returning email_id;
 --
-select email_id from auth.email where address = $1;
+select email_id from secd.email where address = $1;
 --
-insert into auth.identity_email (identity_id, email_id, created_at) values ($1, $2, $3);
+insert into secd.identity_email (identity_id, email_id, created_at) values ($1, $2, $3);
 --
-- 
cgit v1.2.3

