mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-14 20:19:26 +01:00
Delete: Song history
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
import { BaseModel, column } from '@ioc:Adonis/Lucid/Orm'
|
||||
|
||||
export default class Song extends BaseModel {
|
||||
public static table = 'spotify_songs_history'
|
||||
|
||||
@column({ isPrimary: true })
|
||||
public date: Date
|
||||
|
||||
@column()
|
||||
public device_name: string
|
||||
|
||||
@column()
|
||||
public device_type: string
|
||||
|
||||
@column()
|
||||
public item_name: string
|
||||
|
||||
@column()
|
||||
public item_id: string
|
||||
|
||||
@column()
|
||||
public item_type: string
|
||||
|
||||
@column()
|
||||
public author: string
|
||||
|
||||
@column()
|
||||
public image: string
|
||||
|
||||
@column()
|
||||
public duration: number
|
||||
}
|
||||
Reference in New Issue
Block a user