Fossil SCM

Typo fix. Moved chat.file to the end of the schema, per forum suggestion.

stephan 2020-12-26 20:47 trunk
Commit fd73e79b8303cc4a425fcd4fa4415774f3cdfda8b2a71883bf7d016c47dd5262
1 file changed +3 -3
+3 -3
--- src/chat.c
+++ src/chat.c
@@ -167,17 +167,17 @@
167167
*/
168168
static const char zChatSchema1[] =
169169
@ CREATE TABLE repository.chat(
170170
@ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
171171
@ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
172
-@ lmtime TEXT, -- Localtime when message originall sent
172
+@ lmtime TEXT, -- Localtime when message originally sent
173173
@ xfrom TEXT, -- Login of the sender
174174
@ xmsg TEXT, -- Raw, unformatted text of the message
175
-@ file BLOB, -- Text of the uploaded file, or NULL
176175
@ fname TEXT, -- Filename of the uploaded file, or NULL
177176
@ fmime TEXT, -- MIMEType of the upload file, or NULL
178
-@ mdel INT -- msgid of another message to delete
177
+@ mdel INT, -- msgid of another message to delete
178
+@ file BLOB -- Text of the uploaded file, or NULL
179179
@ );
180180
;
181181
182182
183183
/*
184184
--- src/chat.c
+++ src/chat.c
@@ -167,17 +167,17 @@
167 */
168 static const char zChatSchema1[] =
169 @ CREATE TABLE repository.chat(
170 @ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
171 @ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
172 @ lmtime TEXT, -- Localtime when message originall sent
173 @ xfrom TEXT, -- Login of the sender
174 @ xmsg TEXT, -- Raw, unformatted text of the message
175 @ file BLOB, -- Text of the uploaded file, or NULL
176 @ fname TEXT, -- Filename of the uploaded file, or NULL
177 @ fmime TEXT, -- MIMEType of the upload file, or NULL
178 @ mdel INT -- msgid of another message to delete
 
179 @ );
180 ;
181
182
183 /*
184
--- src/chat.c
+++ src/chat.c
@@ -167,17 +167,17 @@
167 */
168 static const char zChatSchema1[] =
169 @ CREATE TABLE repository.chat(
170 @ msgid INTEGER PRIMARY KEY AUTOINCREMENT,
171 @ mtime JULIANDAY, -- Time for this entry - Julianday Zulu
172 @ lmtime TEXT, -- Localtime when message originally sent
173 @ xfrom TEXT, -- Login of the sender
174 @ xmsg TEXT, -- Raw, unformatted text of the message
 
175 @ fname TEXT, -- Filename of the uploaded file, or NULL
176 @ fmime TEXT, -- MIMEType of the upload file, or NULL
177 @ mdel INT, -- msgid of another message to delete
178 @ file BLOB -- Text of the uploaded file, or NULL
179 @ );
180 ;
181
182
183 /*
184

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button