Remove extra internal id property
This commit is contained in:
Родитель
765fab4c1f
Коммит
32c5a7e9cb
|
@ -181,7 +181,6 @@ stages:
|
||||||
volumes:
|
volumes:
|
||||||
- volume: reference
|
- volume: reference
|
||||||
path: /reference
|
path: /reference
|
||||||
id: 1
|
|
||||||
name: benchmark1
|
name: benchmark1
|
||||||
author: author1
|
author: author1
|
||||||
mode: mode1
|
mode: mode1
|
||||||
|
@ -190,7 +189,6 @@ updatedAt: 2020-07-27T22:32:43.284Z
|
||||||
|
|
||||||
|
|
||||||
% node build/src/cli/sds.js show candidate candidate1
|
% node build/src/cli/sds.js show candidate candidate1
|
||||||
id: 1
|
|
||||||
name: candidate1
|
name: candidate1
|
||||||
author: author1
|
author: author1
|
||||||
benchmark: benchmark1
|
benchmark: benchmark1
|
||||||
|
@ -207,7 +205,6 @@ volumes:
|
||||||
- name: reference
|
- name: reference
|
||||||
type: AzureBlob
|
type: AzureBlob
|
||||||
target: 'https://sample.blob.core.windows.net/reference'
|
target: 'https://sample.blob.core.windows.net/reference'
|
||||||
id: 1
|
|
||||||
name: suite1
|
name: suite1
|
||||||
author: author1
|
author: author1
|
||||||
benchmark: benchmark1
|
benchmark: benchmark1
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { jsonColumn } from './decorators';
|
||||||
export class Benchmark extends Model<Benchmark> implements IBenchmark {
|
export class Benchmark extends Model<Benchmark> implements IBenchmark {
|
||||||
@Column({
|
@Column({
|
||||||
type: DataType.STRING,
|
type: DataType.STRING,
|
||||||
unique: true,
|
primaryKey: true,
|
||||||
})
|
})
|
||||||
name!: string;
|
name!: string;
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import { ICandidate } from '../../interfaces';
|
||||||
export class Candidate extends Model<Candidate> implements ICandidate {
|
export class Candidate extends Model<Candidate> implements ICandidate {
|
||||||
@Column({
|
@Column({
|
||||||
type: DataType.STRING,
|
type: DataType.STRING,
|
||||||
unique: true,
|
primaryKey: true,
|
||||||
})
|
})
|
||||||
name!: string;
|
name!: string;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { jsonColumn } from './decorators';
|
||||||
export class Result extends Model<Result> implements IResult {
|
export class Result extends Model<Result> implements IResult {
|
||||||
@Column({
|
@Column({
|
||||||
type: DataType.STRING,
|
type: DataType.STRING,
|
||||||
unique: true,
|
primaryKey: true,
|
||||||
})
|
})
|
||||||
name!: string;
|
name!: string;
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ import { jsonColumn } from './decorators';
|
||||||
export class Run extends Model<Run> implements IRun {
|
export class Run extends Model<Run> implements IRun {
|
||||||
@Column({
|
@Column({
|
||||||
type: DataType.STRING,
|
type: DataType.STRING,
|
||||||
unique: true,
|
primaryKey: true,
|
||||||
})
|
})
|
||||||
name!: string;
|
name!: string;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ import { jsonColumn } from './decorators';
|
||||||
export class Suite extends Model<Suite> implements ISuite {
|
export class Suite extends Model<Suite> implements ISuite {
|
||||||
@Column({
|
@Column({
|
||||||
type: DataType.STRING,
|
type: DataType.STRING,
|
||||||
unique: true,
|
primaryKey: true,
|
||||||
})
|
})
|
||||||
name!: string;
|
name!: string;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче