Add md to db
This commit is contained in:
parent
1cd297c9ad
commit
7ec40a1110
|
@ -224,6 +224,17 @@ export default schemaMigrations({
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
toVersion: 14,
|
||||||
|
steps: [
|
||||||
|
addColumns({
|
||||||
|
table: 'messages',
|
||||||
|
columns: [
|
||||||
|
{ name: 'md', type: 'string', isOptional: true }
|
||||||
|
]
|
||||||
|
})
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { appSchema, tableSchema } from '@nozbe/watermelondb';
|
import { appSchema, tableSchema } from '@nozbe/watermelondb';
|
||||||
|
|
||||||
export default appSchema({
|
export default appSchema({
|
||||||
version: 13,
|
version: 14,
|
||||||
tables: [
|
tables: [
|
||||||
tableSchema({
|
tableSchema({
|
||||||
name: 'subscriptions',
|
name: 'subscriptions',
|
||||||
|
@ -115,7 +115,8 @@ export default appSchema({
|
||||||
{ name: 'tmsg', type: 'string', isOptional: true },
|
{ name: 'tmsg', type: 'string', isOptional: true },
|
||||||
{ name: 'blocks', type: 'string', isOptional: true },
|
{ name: 'blocks', type: 'string', isOptional: true },
|
||||||
{ name: 'e2e', type: 'string', isOptional: true },
|
{ name: 'e2e', type: 'string', isOptional: true },
|
||||||
{ name: 'tshow', type: 'boolean', isOptional: true }
|
{ name: 'tshow', type: 'boolean', isOptional: true },
|
||||||
|
{ name: 'md', type: 'string', isOptional: true }
|
||||||
]
|
]
|
||||||
}),
|
}),
|
||||||
tableSchema({
|
tableSchema({
|
||||||
|
|
Loading…
Reference in New Issue