Skip to content

Commit

Permalink
Changed activity_id to id
Browse files Browse the repository at this point in the history
  • Loading branch information
sthuray committed Jun 15, 2024
1 parent 3f0ba72 commit 61f9a73
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const TABLE_NAME = "activities";

export const up: Migration = async ({ context: sequelize }) => {
await sequelize.getQueryInterface().createTable(TABLE_NAME, {
activity_id: {
id: {
type: DataType.INTEGER,
allowNull: false,
primaryKey: true,
Expand Down

0 comments on commit 61f9a73

Please sign in to comment.