CREATE TABLE families(
    code VARCHAR(8) PRIMARY KEY,
    name TEXT
);

CREATE TABLE replies(
    family_code VARCHAR(8) NOT NULL,
    date DATETIME NOT NULL,
    adults INTEGER NOT NULL,
    children INTEGER NOT NULL,
    FOREIGN KEY(family_code) REFERENCES families(code)
);
