Remove progress

This commit is contained in:
2021-08-23 13:23:16 +02:00
parent d08cf1af3d
commit d59a26f514
4 changed files with 0 additions and 6 deletions

View File

@@ -19,9 +19,6 @@ export default class Project extends BaseModel {
@column() @column()
public descriptionId: number public descriptionId: number
@column()
public progress: number
@column() @column()
public url: string public url: string

View File

@@ -8,7 +8,6 @@ export default class ProjectStoreValidator {
public schema = schema.create({ public schema = schema.create({
name: schema.string(), name: schema.string(),
description: schema.string(), description: schema.string(),
progress: schema.number(),
url: schema.string(), url: schema.string(),
cover: schema.string(), cover: schema.string(),
tags: schema.array.optional().members(schema.string()) tags: schema.array.optional().members(schema.string())

View File

@@ -5,7 +5,6 @@ export default class ProjectUpdateValidator {
public schema = schema.create({ public schema = schema.create({
name: schema.string.optional(), name: schema.string.optional(),
description: schema.string.optional(), description: schema.string.optional(),
progress: schema.number.optional(),
url: schema.string.optional(), url: schema.string.optional(),
cover: schema.string.optional(), cover: schema.string.optional(),
tags: schema.array.optional().members(schema.string()) tags: schema.array.optional().members(schema.string())

View File

@@ -13,7 +13,6 @@ export default class Projects extends BaseSchema {
.references('translations.id') .references('translations.id')
.onDelete('CASCADE') .onDelete('CASCADE')
table.string('url').notNullable() table.string('url').notNullable()
table.integer('progress').notNullable()
table table
.integer('file_id') .integer('file_id')
.unsigned() .unsigned()