# Loop over each table in the abstract database schema.
foreach my $table (keys %{ $self->{schema} }) {
my %fields = (@{ $self->{schema}{$table}{FIELDS} });
- # Loop over the field defintions in each table.
+ # Loop over the field definitions in each table.
foreach my $field_def (values %fields) {
# If the field type is an abstract data type defined in the
# $db_specific hash, replace it with the DBMS-specific data type
if (defined $column_info->{COLUMN_DEF}) {
# The defaults that MySQL inputs automatically are usually
# something that would be considered "false" by perl, either
- # a 0 or an empty string. (Except for ddatetime and decimal
+ # a 0 or an empty string. (Except for datetime and decimal
# fields, which have their own special auto-defaults.)
#
# Here's how we handle this: If it exists in the schema