$field_def .= " $data_type";
if ( defined $size[0] && $size[0] > 0 ) {
- $field_def .= '(' . join( ', ', @size ) . ')';
+ $field_def .= '(' . join( ',', @size ) . ')';
}
#
DROP TABLE Another;
CREATE TABLE Another (
- id INTEGER PRIMARY KEY NOT NULL
+ id INTEGER PRIMARY KEY NOT NULL,
+ num numeric(10,2)
);
DROP VIEW IF EXISTS email_list;
'CREATE UNIQUE INDEX emailuniqueindex ON Basic (email)',
'DROP TABLE Another',
'CREATE TABLE Another (
- id INTEGER PRIMARY KEY NOT NULL
+ id INTEGER PRIMARY KEY NOT NULL,
+ num numeric(10,2)
)',
'DROP VIEW IF EXISTS email_list;
CREATE VIEW email_list AS