verdnatura-chat/app/lib/database/model/ServersHistory.js

13 lines
302 B
JavaScript
Raw Permalink 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;
}