'int' => { data_type => 'integer' },
'integer' => { data_type => 'integer' },
'bigint' => { data_type => 'bigint' },
- 'float' => { data_type => 'float' },
+ 'float' => { data_type => 'real' },
'double precision' =>
{ data_type => 'double precision' },
- 'real' => { data_type => 'float' },
+ 'real' => { data_type => 'real' },
- 'float(2)' => { data_type => 'float' },
- 'float(7)' => { data_type => 'float' },
+ 'float(2)' => { data_type => 'real' },
+ 'float(7)' => { data_type => 'real' },
'float(8)' => { data_type => 'double precision' },
'decimal' => { data_type => 'decimal' },
# Date and Time Types
'date' => { data_type => 'date' },
- 'timestamp DEFAULT CURRENT_TIMESTAMP'
- => { data_type => 'timestamp', default_value => \"CURRENT_TIMESTAMP" },
+ 'timestamp default current_timestamp'
+ => { data_type => 'timestamp', default_value => \'current_timestamp' },
'time' => { data_type => 'time' },
# String Types