Skip to content

Instantly share code, notes, and snippets.

@EclipseGc
Created February 24, 2014 17:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EclipseGc/9193253 to your computer and use it in GitHub Desktop.
Save EclipseGc/9193253 to your computer and use it in GitHub Desktop.
<?php
$source_key_schema = array(
'mfg_code' => array(
'type' => 'varchar',
'length' => 255,
'unsigned' => FALSE,
'not null' => TRUE,
'alias' => 'i'
),
'mfg_item_no' => array(
'type' => 'varchar',
'length' => 255,
'unsigned' => FALSE,
'not null' => TRUE,
'alias' => 'i'
),
);
$this->map = new MigrateSQLMap($this->machineName, $source_key_schema, $this->destination->getKeySchema());
@mikeryan776
Copy link

array( 'type' => 'varchar', 'length' => 255, 'unsigned' => FALSE, 'not null' => TRUE, 'binary' => TRUE, 'alias' => 'i' ), 'mfg_item_no' => array( 'type' => 'varchar', 'length' => 255, 'unsigned' => FALSE, 'not null' => TRUE, 'binary' => TRUE, 'alias' => 'i' ), ); ```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment