@kipicore/dbcore 1.1.266 → 1.1.267

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ export function up(queryInterface: any, Sequelize: any): Promise<void>;
2
+ export function down(queryInterface: any, Sequelize: any): Promise<void>;
@@ -0,0 +1,19 @@
1
+ 'use strict';
2
+ const up = async (queryInterface, Sequelize) => {
3
+ await queryInterface.changeColumn('maintenance', 'app_type', {
4
+ type: Sequelize.STRING,
5
+ allowNull: true,
6
+ field: 'app_type',
7
+ });
8
+ };
9
+ const down = async (queryInterface, Sequelize) => {
10
+ await queryInterface.changeColumn('maintenance', 'app_type', {
11
+ type: Sequelize.UUID,
12
+ allowNull: true,
13
+ field: 'app_type',
14
+ });
15
+ };
16
+ module.exports = {
17
+ up,
18
+ down,
19
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kipicore/dbcore",
3
- "version": "1.1.266",
3
+ "version": "1.1.267",
4
4
  "description": "Reusable DB core package with Postgres, MongoDB, models, services, interfaces, and types",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",