sendou.ink/migrations/071-homemade-badges.js
Kalle 7f9c9f25fb
Homemade badges (#1894)
* Initial

* Author info

* Add docs
2024-09-29 13:49:27 +03:00

10 lines
225 B
JavaScript

export function up(db) {
db.transaction(() => {
db.prepare(/* sql */ `alter table "Badge" add "authorId" integer`).run();
})();
db.prepare(
/* sql */ `create index badge_author_id on "Badge"("authorId")`,
).run();
}