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

14 lines
425 B
SQL

--- Create a commands table that contains all the already executed commandes and the simplified version by ChatGPT
DROP TABLE IF EXISTS commands;
CREATE TABLE commands (
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
);