Last active
March 2, 2020 11:12
-
-
Save harrytran998/2b2c25d14534a1f44fb82509b27c8140 to your computer and use it in GitHub Desktop.
I don't have idea what I do
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict' | |
module.exports = { | |
up: (queryInterface, Sequelize) => { | |
return queryInterface.sequelize.query('CREATE EXTENSION IF NOT EXISTS "uuid-ossp";') | |
}, | |
down: (queryInterface, Sequelize) => { | |
return queryInterface.sequelize.query('DROP EXTENSION IF EXISTS "uuid-ossp" RESTRICT;') | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment