create table if not exists admin_user
(
    id            serial
        primary key,
    username      varchar(255)                           not null
        unique,
    password_hash varchar(255)                           not null,
    is_active     boolean                  default true  not null,
    created_at    timestamp with time zone default now() not null,
    updated_at    timestamp with time zone default now() not null
);

create index if not exists idx_admin_user_username
    on admin_user (username);
