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

13 lines
302 B
JavaScript
Raw Normal View History

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;
}