UNPKG

@lomray/microservice-payment-stripe

Version:

Stripe payment microservice based on NodeJS & inverted json.

25 lines (21 loc) 679 B
'use strict'; var tslib = require('tslib'); class promoCodeMaxRedemptions1692806259412 { up(queryRunner) { return tslib.__awaiter(this, void 0, void 0, function* () { /** * Add column */ yield queryRunner.query(`ALTER TABLE "promo_code" ADD COLUMN "maxRedemptions" integer`); }); } down(queryRunner) { return tslib.__awaiter(this, void 0, void 0, function* () { /** * Drop column */ yield queryRunner.query(`ALTER TABLE "promo_code" DROP COLUMN "maxRedemptions"`); }); } } module.exports = promoCodeMaxRedemptions1692806259412;