Loading...
Loading...
Guide for working with SQL queries, in particular for SQLite. Use this skill when writing SQL queries, analyzing database schemas, designing migrations, or working with SQLite-related code.
npx skill4agent add maragudk/skills sqlselect *strictstrftime('%Y-%m-%dT%H:%M:%fZ')strftimeid text primary key default ('p_' || lower(hex(randomblob(16))))p_createdupdatedcreated text not null default (strftime('%Y-%m-%dT%H:%M:%fZ'))create trigger table_name_updated_timestamp after update on table_name begin
update table_name set updated = strftime('%Y-%m-%dT%H:%M:%fZ') where id = old.id;
end;