Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- up: async (queryInterface, Sequelize) =>
- queryInterface.sequelize.query('CREATE EXTENSION IF NOT EXISTS "uuid-ossp";').then(function() {
- return queryInterface.addColumn('reserveCandidate', 'folderUuid', {
- type: Sequelize.UUID,
- defaultValue: Sequelize.literal('uuid_generate_v4()'),
- allowNull: false,
- });
- }),
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement