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