1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-28 00:06:53 +01:00
unleash.unleash/unleash-server/sql/Gruntfile.js
2020-02-20 08:30:06 +01:00

29 lines
708 B
JavaScript

var dbPort = (process.env.BOXEN_POSTGRESQL_PORT || '5432');
module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-liquibase');
grunt.initConfig({
liquibase : {
options: {
username : '',
password : '',
url : 'jdbc:postgresql://localhost:' + dbPort + '/unleash',
changeLogFile: 'db_changes/db.changelog-master.xml'
},
update: {
command: 'update'
},
dropAll: {
command: 'dropAll'
},
version : {
command: 'version'
}
}
});
grunt.registerTask('default', []);
};