UNPKG

@flowfuse/flowfuse

Version:

An open source low-code development platform

21 lines (19 loc) 548 B
const { DataTypes } = require('sequelize') module.exports = { up: async (context) => { await context.createTable('OAuthSessions', { id: { type: DataTypes.STRING, primaryKey: true }, value: { type: DataTypes.TEXT, allowNull: false }, createdAt: { type: DataTypes.DATE, allowNull: false }, updatedAt: { type: DataTypes.DATE, allowNull: false } }) }, down: async (context) => { } }