Documentation
    Preparing search index...
    sql_sqlite: "\ncreate table if not exists _sc_api_tokens (\n id integer primary key autoincrement,\n user_id integer not null references users(id) on delete cascade,\n token text not null unique,\n created_at timestamp not null default CURRENT_TIMESTAMP\n);\ncreate index if not exists _sc_api_tokens_user_idx on _sc_api_tokens(user_id);\n\ninsert into _sc_api_tokens (user_id, token, created_at)\nselect u.id as user_id, u.api_token as token, CURRENT_TIMESTAMP\nfrom users u\nwhere u.api_token is not null and u.api_token <> ''\n and not exists (\n select 1 from _sc_api_tokens t where t.token = u.api_token\n );\n" = ...