mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-11-20 15:28:41 +00:00
No longer Axum-based because filling out the request routes would have distracted from the purpose of the example.
11 lines
322 B
SQL
11 lines
322 B
SQL
create table accounts.account
|
|
(
|
|
account_id uuid primary key default gen_random_uuid(),
|
|
email text unique not null,
|
|
password_hash text not null,
|
|
created_at timestamptz not null default now(),
|
|
updated_at timestamptz
|
|
);
|
|
|
|
select accounts.trigger_updated_at('accounts.account');
|