13 lines
301 B
JavaScript
13 lines
301 B
JavaScript
|
import { Model } from '@nozbe/watermelondb';
|
||
|
import { field, date, 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
|
||
|
}
|