Skip to content

Commit cb7b5aa

Browse files
committed
SQL: evid cannot be primary key (because of runid)
1 parent 1fd270d commit cb7b5aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sourcespec/ssp_sqlite_output.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def write_sqlite(config, sspec_output):
150150
# Create Event table
151151
sql_create_events_table = """CREATE TABLE IF NOT EXISTS Events (
152152
/* Event info */
153-
evid TEXT PRIMARY KEY,
153+
evid TEXT,
154154
runid TEXT,
155155
orig_time REAL,
156156
lon REAL,

0 commit comments

Comments
 (0)