Skip to content
Snippets Groups Projects
Commit b8aa6616 authored by BEAUVAIS ANTOINE's avatar BEAUVAIS ANTOINE
Browse files

Added scripts to generate test DB.

parent 4ee3ee1c
Branches
No related merge requests found
DROP TABLE IF EXISTS items;
CREATE TABLE items (
ref INTEGER PRIMARY KEY,
name TEXT NOT NULL,
price REAL NOT NULL,
subscriberPrice REAL NOT NULL
);
INSERT INTO items (ref, name, price, subscriberPrice)
VALUES (1, "Jus d'orange", 1.00, 0.50),
(2, "Coca-Cola", 1.50, 1.00);
#!/bin/sh
sqlite3 dev.db '.read ./scripts/create-dev.sql'
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment