mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-02-27 05:28:23 +00:00
Remove idx creation, sqlite3 handles this automatically.
This commit is contained in:
parent
64b91c8b97
commit
9f29bef173
2 changed files with 0 additions and 4 deletions
|
@ -62,7 +62,6 @@ r_re = re.compile(r'(.*) dnsmasq\[\d+\]: (reply|cached) (.*) is (.*)')
|
|||
def create_tables():
|
||||
qt = '''
|
||||
CREATE TABLE IF NOT EXISTS queries (
|
||||
id integer primary key autoincrement,
|
||||
source text,
|
||||
query_type text,
|
||||
name text,
|
||||
|
@ -74,7 +73,6 @@ def create_tables():
|
|||
|
||||
ft = '''
|
||||
CREATE TABLE IF NOT EXISTS forwards (
|
||||
id integer primary key autoincrement,
|
||||
resolver text,
|
||||
name text,
|
||||
ts datetime
|
||||
|
@ -85,7 +83,6 @@ def create_tables():
|
|||
|
||||
rt = '''
|
||||
CREATE TABLE IF NOT EXISTS replies (
|
||||
id integer primary key autoincrement,
|
||||
ip text,
|
||||
reply_type text,
|
||||
name text,
|
||||
|
|
|
@ -33,7 +33,6 @@ with conn:
|
|||
# Ready new table for list of domains
|
||||
gt = '''
|
||||
CREATE TABLE IF NOT EXISTS gravity (
|
||||
idx INTEGER PRIMARY KEY ASC,
|
||||
domain text
|
||||
)
|
||||
'''
|
||||
|
|
Loading…
Add table
Reference in a new issue