add timestamp to turns
This commit is contained in:
@@ -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;
|
||||
`
|
||||
)
|
||||
}
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user