diff options
author | jvech <jmvalenciae@unal.edu.co> | 2024-04-23 07:52:28 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2024-04-23 07:52:28 -0500 |
commit | a5dfd2627853bd67e9d17ef870fc84be312b1397 (patch) | |
tree | 85e005be5e96916f2d45d85a703ff2717ed28c51 /README.md |
add: first commit done
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 32 |
1 files changed, 32 insertions, 0 deletions
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 |