I added the trailing slash but that did not make any difference.
<?php
$xpdo_meta_map['Cottage']= array (
'package' => 'tariffs',
'table' => 'tariffs_cottages',
'fields' => array (
'name' => '',
'address' => '',
'postcode' => '',
'town' => '',
'sb_start' => '',
'sb_end' => '',
'tariff3' => '',
'tariff4' => '',
'tariff5' => '',
'tariff6' => '',
'allow_dogs' => '',
'max_dogs' => 0,
'max_sleeps' => 0,
'longtitude' => '',
'latitude' => '',
'confirmation_chunk_normal' => 0,
'confirmation_chunk_late' => 0
),
'fieldMeta' => array (
'name' => array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'address' => array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'postcode' => array (
'dbtype' => 'varchar',
'precision' => '8',
'phptype' => 'string',
'null' => false,
'default' => 0,
),
'town' => array (
'dbtype' => 'varchar',
'precision' => '255',
'phptype' => 'string',
'null' => false,
'default' => 0,
),
'sb_start' => array (
'dbtype' => 'char',
'precision' => '5',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'sb_end' => array (
'dbtype' => 'char',
'precision' => '5',
'phptype' => 'string',
'null' => false,
'default' => '',
),
'tariff3' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'tariff4' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'tariff5' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'tariff6' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'integer',
'null' => false,
'default' => 0,
),
'max_dogs' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'int',
'null' => false,
'default' => 0,
),
'max_sleeps' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'int',
'null' => false,
'default' => 0,
),
'longtitude' => array (
'dbtype' => 'char',
'precision' => '10',
'phptype' => 'string',
'null' => false,
'default' => 0,
),
'latitude' => array (
'dbtype' => 'char',
'precision' => '10',
'phptype' => 'string',
'null' => false,
'default' => 0,
),
'confirmation_chunk_normal' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'int',
'null' => false,
'default' => 0,
),
'confirmation_chunk_late' => array (
'dbtype' => 'int',
'precision' => '11',
'phptype' => 'int',
'null' => false,
'default' => 0,
),
),
);