mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-28 18:40:27 +01:00
Remove useless column
This commit is contained in:
@@ -8,9 +8,6 @@ export default class PostColor extends BaseModel {
|
|||||||
@column()
|
@column()
|
||||||
public name: string
|
public name: string
|
||||||
|
|
||||||
@column()
|
|
||||||
public color: string
|
|
||||||
|
|
||||||
@column.dateTime({ autoCreate: true })
|
@column.dateTime({ autoCreate: true })
|
||||||
public createdAt: DateTime
|
public createdAt: DateTime
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ export default class PostColorStoreValidator {
|
|||||||
|
|
||||||
public schema = schema.create({
|
public schema = schema.create({
|
||||||
name: schema.string(),
|
name: schema.string(),
|
||||||
color: schema.string()
|
|
||||||
})
|
})
|
||||||
|
|
||||||
public messages = {
|
public messages = {
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ import {HttpContextContract} from '@ioc:Adonis/Core/HttpContext'
|
|||||||
export default class PostColorUpdateValidator {
|
export default class PostColorUpdateValidator {
|
||||||
public schema = schema.create({
|
public schema = schema.create({
|
||||||
name: schema.string.optional(),
|
name: schema.string.optional(),
|
||||||
color: schema.string.optional()
|
|
||||||
})
|
})
|
||||||
|
|
||||||
public messages = {
|
public messages = {
|
||||||
|
|||||||
Reference in New Issue
Block a user