From 7c2478201927d6f747dea9e9ccd93393157e585f Mon Sep 17 00:00:00 2001 From: Noah Saso Date: Wed, 12 Jun 2024 17:15:18 -0400 Subject: [PATCH] add primary key to WasmCodeKeyIds table --- src/db/migrations/20240521022046-create-wasm-code-key-id.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/db/migrations/20240521022046-create-wasm-code-key-id.ts b/src/db/migrations/20240521022046-create-wasm-code-key-id.ts index 62415d78..275c2fb1 100644 --- a/src/db/migrations/20240521022046-create-wasm-code-key-id.ts +++ b/src/db/migrations/20240521022046-create-wasm-code-key-id.ts @@ -4,6 +4,11 @@ import { DataType } from 'sequelize-typescript' module.exports = { async up(queryInterface: QueryInterface) { await queryInterface.createTable('WasmCodeKeyIds', { + id: { + primaryKey: true, + autoIncrement: true, + type: DataType.INTEGER, + }, codeKey: { allowNull: false, type: DataType.STRING,