From a5dfd2627853bd67e9d17ef870fc84be312b1397 Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 23 Apr 2024 07:52:28 -0500 Subject: add: first commit done --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README.md (limited to 'README.md') diff --git a/README.md b/README.md new file mode 100644 index 0000000..e70b91f --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ +# Debt +A debt recorder, which helps to remember who owns you money + + +## Database + +```sql +CREATE TABLE Agents ( + id INTEGER PRIMARY KEY, + name TEXT NOT NULL UNIQUE + ) +``` + +```sql +CREATE TABLE Registers ( + id INTEGER PRIMARY KEY, + agent_id INTEGER, + register_date INTEGER NOT NULL, + amount INTEGER NOT NULL, + note TEXT, + FOREIGN KEY(agent_id) REFERENCES Agents(id) + ) +``` + +## Client + +``` +Usage: + debt action [options] +``` + +## Server -- cgit v1.2.3-70-g09d2