screwdriver-data-schema 21.26.1 → 21.26.2

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.
@@ -23,15 +23,6 @@ module.exports = {
23
23
  { transaction }
24
24
  );
25
25
 
26
- await queryInterface.addColumn(
27
- table,
28
- 'createTime',
29
- {
30
- type: Sequelize.STRING(32)
31
- },
32
- { transaction }
33
- );
34
-
35
26
  await queryInterface.addConstraint(table, {
36
27
  name: `${table}_pipeline_id_name_group_event_id_key`,
37
28
  fields: ['pipelineId', 'name', 'groupEventId'],
@@ -41,7 +32,7 @@ module.exports = {
41
32
 
42
33
  await queryInterface.addIndex(table, {
43
34
  name: `${table}_group_event_id_create_time`,
44
- fields: ['groupEventId', 'createTime'],
35
+ fields: ['groupEventId'],
45
36
  transaction
46
37
  });
47
38
  // eslint-disable-next-line no-empty
package/models/stage.js CHANGED
@@ -42,11 +42,7 @@ const MODEL = {
42
42
  .integer()
43
43
  .positive()
44
44
  .description('Identifier of the group event')
45
- .example(123345),
46
-
47
- createTime: Joi.string()
48
- .isoDate()
49
- .description('When this stage was created')
45
+ .example(123345)
50
46
  };
51
47
 
52
48
  module.exports = {
@@ -95,5 +91,5 @@ module.exports = {
95
91
  * @property indexes
96
92
  * @type {Array}
97
93
  */
98
- indexes: [{ fields: ['pipelineId'] }, { fields: ['groupEventId', 'createTime'] }]
94
+ indexes: [{ fields: ['pipelineId'] }, { fields: ['groupEventId'] }]
99
95
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screwdriver-data-schema",
3
- "version": "21.26.1",
3
+ "version": "21.26.2",
4
4
  "description": "Internal Data Schema of Screwdriver",
5
5
  "main": "index.js",
6
6
  "scripts": {