gopalswami commited on
Commit
40cb419
·
1 Parent(s): bdb4805

Remove auto generated comments from 20250123074217-remove-unique-constraint-from-invoice-reference-number.js

Browse files
src/db/migrations/20250123074217-remove-unique-constraint-from-invoice-reference-number.js CHANGED
@@ -3,12 +3,6 @@
3
  /** @type {import('sequelize-cli').Migration} */
4
  module.exports = {
5
  async up(queryInterface, Sequelize) {
6
- /**
7
- * Add altering commands here.
8
- *
9
- * Example:
10
- * await queryInterface.createTable('users', { id: Sequelize.INTEGER });
11
- */
12
 
13
  await queryInterface.removeIndex("invoices", "reference_number");
14
 
@@ -19,12 +13,6 @@ module.exports = {
19
  },
20
 
21
  async down(queryInterface, Sequelize) {
22
- /**
23
- * Add reverting commands here.
24
- *
25
- * Example:
26
- * await queryInterface.dropTable('users');
27
- */
28
 
29
  await queryInterface.changeColumn("invoices", "reference_number", {
30
  type: Sequelize.STRING(100),
 
3
  /** @type {import('sequelize-cli').Migration} */
4
  module.exports = {
5
  async up(queryInterface, Sequelize) {
 
 
 
 
 
 
6
 
7
  await queryInterface.removeIndex("invoices", "reference_number");
8
 
 
13
  },
14
 
15
  async down(queryInterface, Sequelize) {
 
 
 
 
 
 
16
 
17
  await queryInterface.changeColumn("invoices", "reference_number", {
18
  type: Sequelize.STRING(100),