Skip to content

Commit

Permalink
add primary key to WasmCodeKeyIds table
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahSaso committed Jun 12, 2024
1 parent 69671db commit 7c24782
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/db/migrations/20240521022046-create-wasm-code-key-id.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7c24782

Please sign in to comment.