* Fix TextEditView when 'text' set by default

* Fix TextEditView row vs col
* Start skeleton on HorizontalMenuView
This commit is contained in:
Bryan Ashby 2015-06-28 22:31:12 -06:00
parent 670bf0fd6e
commit 541be2d65a
8 changed files with 79 additions and 74 deletions

View file

@ -72,16 +72,18 @@ function createUserTables() {
function createMessageBaseTables() {
dbs.message.run(
'CREATE TABLE IF NOT EXISTS message (' +
' message_id INTEGER PRIMARY KEY,' +
' area_id INTEGER NOT NULL,' +
' message_uuid VARCHAR(36) NOT NULL,' +
' reply_to_id INTEGER,' +
' to_user_name VARCHAR NOT NULL,' +
' from_user_name VARCHAR NOT NULL,' +
' subject,' + // FTS
' message,' + // FTS
' modified_timestamp DATETIME' +
'CREATE TABLE IF NOT EXISTS message (' +
' message_id INTEGER PRIMARY KEY,' +
' area_id INTEGER NOT NULL,' +
' message_uuid VARCHAR(36) NOT NULL,' +
' reply_to_id INTEGER,' +
' to_user_name VARCHAR NOT NULL,' +
' from_user_name VARCHAR NOT NULL,' +
' subject,' + // FTS @ message_fts
' message,' + // FTS @ message_fts
' modified_timestamp DATETIME NOT NULL,' +
' UNIQUE(message_id, area_id),' +
' UNIQUE(message_uuid)' +
');'
);