* Some additional message related tables
* Change FSE art to 79 columns
This commit is contained in:
parent
5a4c2a3043
commit
e7e9070414
|
@ -86,12 +86,29 @@ function createMessageBaseTables() {
|
|||
);
|
||||
|
||||
dbs.message.run(
|
||||
'CREATE VIRTUAL TABLE message_fts USING fts4 (' +
|
||||
'CREATE VIRTUAL TABLE IF NOT EXISTS message_fts USING fts4 (' +
|
||||
' content="message",' +
|
||||
' subject,' +
|
||||
' message' +
|
||||
');'
|
||||
);
|
||||
|
||||
dbs.message.run(
|
||||
'CREATE TABLE IF NOT EXISTS message_meta (' +
|
||||
' message_id INTEGER NOT NULL,' +
|
||||
' meta_name VARCHAR NOT NULL,' +
|
||||
' meta_value VARCHAR NOT NULL,' +
|
||||
' UNIQUE(message_id, meta_name),' +
|
||||
' FOREIGN KEY(message_id) REFERENCES message(message_id) ON DELETE CASCADE' +
|
||||
');'
|
||||
);
|
||||
|
||||
dbs.message.run(
|
||||
'CREATE TABLE IF NOT EXISTS message_hash_tag (' +
|
||||
' hash_tag VARCHAR NOT NULL,' +
|
||||
' message_id INTEGER NOT NULL' +
|
||||
');'
|
||||
);
|
||||
}
|
||||
|
||||
function createInitialValues() {
|
||||
|
|
Binary file not shown.
|
@ -68,7 +68,7 @@ function FullScreenEditorModule(options) {
|
|||
text : 'This is a longer string',
|
||||
},
|
||||
MT3 : {
|
||||
width : 80,
|
||||
width : 79,
|
||||
height : 17,
|
||||
focus : true,
|
||||
text : 'Ermergerd!\nHuzzah!'
|
||||
|
|
Loading…
Reference in New Issue