* Typings & PostMetadata structure * comment out unused code * Remove duplicate interface * Fix getPreferenceAsBool defaultValue
16 lines
434 B
TypeScript
16 lines
434 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {tableSchema} from '@nozbe/watermelondb';
|
|
|
|
import {MM_TABLES} from '@constants/database';
|
|
|
|
const {POST_METADATA} = MM_TABLES.SERVER;
|
|
|
|
export default tableSchema({
|
|
name: POST_METADATA,
|
|
columns: [
|
|
{name: 'data', type: 'string'},
|
|
{name: 'post_id', type: 'string', isIndexed: true},
|
|
],
|
|
});
|