database shenanigans
ddl for table definitions