Files
workshop8/Seeds/seed.sql
arthur faria 189fa1734c Initial commit
2025-07-29 22:22:38 -03:00

15 lines
408 B
SQL

CREATE TABLE IF NOT EXISTS Clientes (
Id INTEGER PRIMARY KEY AUTOINCREMENT,
Nome TEXT NOT NULL,
Email TEXT NOT NULL,
CriadoEm DATETIME NOT NULL
);
CREATE TABLE IF NOT EXISTS LogsLocal (
Id INTEGER PRIMARY KEY AUTOINCREMENT,
Message TEXT NOT NULL,
CreatedAt DATETIME NOT NULL
);
INSERT INTO Clientes (Nome, Email, CriadoEm)
VALUES ('Exemplo Cliente', 'exemplo@dominio.com', datetime('now'));