CREATE TABLE investment (
    id BIGSERIAL PRIMARY KEY,
    project TEXT NOT NULL,
    title TEXT NOT NULL,
    "description" TEXT NOT NULL,
    amount DOUBLE PRECISION NOT NULL,
    "when" TEXT NOT NULL DEFAULT CURRENT_TIMESTAMP,
    payed BOOLEAN NOT NULL DEFAULT false
);
