Auto-gen SQL tables based on Library model definitions