You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Matt Theissen 31418a4d6e
Added disabling accounts
4 years ago
README.md README update 4 years ago
ddbank.sh Added disabling accounts 4 years ago

README.md

knd-bank

Based on dnd_bank ( Bank of Skyfall, D&D Edition ) https://git.skyfall.tech/ajohnson/dnd_bank

This project is solely for training purpose and will not be maintained. Use the Bank of Skyfall.

Setup the database:

CREATE TABLE account (id SERIAL UNIQUE, username VARCHAR(50) UNIQUE NOT NULL,timestamp TIMESTAMP);

CREATE TABLE balance (id SERIAL UNIQUE,balance NUMERIC);

CREATE TABLE transaction (id SERIAL UNIQUE,username VARCHAR(50),amount NUMERIC,timestamp TIMESTAMP);

Use script.

Have a good day.