10 lines
310 B
Bash
10 lines
310 B
Bash
|
#!/usr/bin/bash
|
||
|
|
||
|
SQL=$(cat <<EOF
|
||
|
INSERT INTO users
|
||
|
(id, handle, email, roles, status, reset_password_token, created_at)
|
||
|
VALUES
|
||
|
('$(uuid)', 'invited_user', 'invited-user@example.org', '[]', 'Invited', 'Z433-Y001-V987-P500', '2024-11-30T00:00:00Z');
|
||
|
EOF)
|
||
|
echo $SQL | sqlite3 $DB_PATH
|