add CREATE_TABLES.txt

correct the foreign constraints