CREATE TABLE Book( -- df: mult=100.0
  bid SERIAL PRIMARY KEY,
  title TEXT NOT NULL
   -- df: text word=/etc/dictionaries-common/words length=4 lenvar=3
);

CREATE TABLE Reader( -- df: mult=1.0
  rid SERIAL PRIMARY KEY,
  firstname TEXT NOT NULL, -- df: prefix=fn size=1000 gen=power rate=0.03
  lastname TEXT NOT NULL, -- df: prefix=ln size=10000 gen=power rate=0.01
  born DATE NOT NULL, -- df: start=1923-01-01 end=2010-01-01
  gender BOOLEAN NOT NULL, -- df: rate=0.25
  phone TEXT -- df: null=0.01 chars='0123456789' length=10 lenvar=0 size=1000000
);

CREATE TABLE Borrow( -- df: mult=1.5
  borrowed TIMESTAMP NOT NULL, -- df: size=72000
  rid INTEGER NOT NULL REFERENCES Reader,
  bid INTEGER NOT NULL REFERENCES Book, -- df: mangle
  PRIMARY KEY(bid) -- a book is borrowed at most once at a time!
);
