Skip to content

Commit ba60a47

Browse files
committed
fix: Sql table columns
1 parent d9f9fc3 commit ba60a47

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/common/common_trace_index.nim

+1-6
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,7 @@ const SQL_CREATE_TABLE_STATEMENTS = @[
3939
exitCode integer,
4040
calltrace integer,
4141
calltraceMode string,
42-
date text,
43-
remoteShareDownloadId string,
44-
remoteShareControlId string,
45-
remoteShareExpireTime integer);""",
42+
date text);""",
4643
"""CREATE TABLE IF NOT EXISTS trace_values (
4744
id integer,
4845
maxTraceID integer,
@@ -58,8 +55,6 @@ const SQL_INITIAL_INSERT_STATEMENTS = @[
5855

5956
const SQL_ALTER_TABLE_STATEMENTS: seq[string] = @[
6057
# example: adding a new column
61-
"""ALTER TABLE traces ADD COLUMN calltraceMode text;""",
62-
"""ALTER TABLE traces RENAME COLUMN callgraph TO calltrace""",
6358
"""ALTER TABLE traces ADD COLUMN remoteShareDownloadId text;""",
6459
"""ALTER TABLE traces ADD COLUMN remoteShareControlId text;""",
6560
"""ALTER TABLE traces ADD COLUMN remoteShareExpireTime text;"""

0 commit comments

Comments
 (0)