Fix: create-tables.sql and drop-tables.sql are different files.
Use a sequence for entity IDs.
Fixed in CodeEmitter: nextval argument should be the name of the sequence, not the sequence itself.
Fix field_names (should be 'fieldNames').
:: can be used in identifiers when you really want an underscore in your (postgres) table name.