pvanand commited on
Commit
ed6643b
·
verified ·
1 Parent(s): 0ee4f3c

fix indendation

Browse files
Files changed (1) hide show
  1. rag_routerv2.py +3 -3
rag_routerv2.py CHANGED
@@ -50,7 +50,7 @@ def init_db():
50
  created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
51
  )
52
  ''')
53
- db.execute('''
54
  CREATE TABLE IF NOT EXISTS table_files (
55
  id INTEGER PRIMARY KEY,
56
  table_id TEXT NOT NULL,
@@ -59,8 +59,8 @@ def init_db():
59
  FOREIGN KEY (table_id) REFERENCES tables (table_id),
60
  UNIQUE(table_id, filename)
61
  )
62
- ''')
63
- db.commit()
64
 
65
  # Pydantic models
66
  class CreateTableResponse(BaseModel):
 
50
  created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
51
  )
52
  ''')
53
+ db.execute('''
54
  CREATE TABLE IF NOT EXISTS table_files (
55
  id INTEGER PRIMARY KEY,
56
  table_id TEXT NOT NULL,
 
59
  FOREIGN KEY (table_id) REFERENCES tables (table_id),
60
  UNIQUE(table_id, filename)
61
  )
62
+ ''')
63
+ db.commit()
64
 
65
  # Pydantic models
66
  class CreateTableResponse(BaseModel):