jarvis-server-v2/jarvis/db/create_empty_database.sql

14 lines
423 B
SQL

--- Create a commands table that contains all the already executed commandes and the simplified version by ChatGPT
DROP TABLE IF EXISTS queries;
CREATE TABLE queries (
id INTEGER PRIMARY KEY,
original_command VARCHAR NOT NULL,
simplified_command VARCHAR NOT NULL,
response INT NOT NULL
);
DROP TABLE IF EXISTS responses:
CREATE TABLE responses (
id INTEGER PRIMARY KEY,
response VARCHAR NOT NULL
);