mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-03 06:47:14 +00:00
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
7 lines
235 B
SQL
7 lines
235 B
SQL
create table accounts.session
|
|
(
|
|
session_token text primary key, -- random alphanumeric string
|
|
account_id uuid not null references accounts.account (account_id),
|
|
created_at timestamptz not null default now()
|
|
);
|