vn-verdnaturachat/app/lib/database/model/ServersHistory.js

13 lines
302 B
JavaScript

import { Model } from '@nozbe/watermelondb';
import { date, field, readonly } from '@nozbe/watermelondb/decorators';
export default class ServersHistory extends Model {
static table = 'servers_history';
@field('url') url;
@field('username') username;
@readonly @date('updated_at') updatedAt;
}