add timestamp to turns

This commit is contained in:
2025-09-12 15:53:51 +02:00
parent fb5fe17020
commit fab7b7ca8b

View File

@@ -75,6 +75,16 @@ const migrations = [
) )
`) `)
} }
},
{
name: "add_timestamp_to_turns",
up: async (conn) => {
await conn.query(`
ALTER TABLE turns
ADD COLUMN played_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP;
`
)
}
} }
]; ];