This commit is contained in:
2020-12-19 18:57:19 +01:00
parent c7e433c077
commit 48fa997811
11 changed files with 178 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
import { DateTime } from 'luxon'
import { BaseModel, column } from '@ioc:Adonis/Lucid/Orm'
export default class DockerCommand extends BaseModel {
@column({ isPrimary: true })
public id: number
@column()
public command: string
@column.dateTime({ autoCreate: true })
public createdAt: DateTime
}