Skip to content

Commit 910b66a

Browse files
committed
fix: set creator_member_id to null for initial vote_list entry
1 parent 2be6a3c commit 910b66a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/db/migrations/20260309032638_add_voting_tables.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export async function up(knex: Knex): Promise<void> {
6060
await knex('vote_list').insert({
6161
title: 'Mayor Election 2026',
6262
place_id: 1,
63-
creator_member_id: 1,
63+
creator_member_id: null,
6464
description: 'Vote for the next mayor of Cybertown',
6565
expires_at: null,
6666
});

0 commit comments

Comments
 (0)