One of them:
public function step1()
{
\IPS\Db::i()->createTable( array(
'name' => 'savedactionssorting_mm',
'columns' => array(
array(
'name' => 'sas_mm_id',
'type' => 'smallint',
'length' => 6,
'allow_null' => false,
'auto_increment' => false,
'default' => 0
),
array(
'name' => 'sas_mm_position',
'type' => 'smallint',
'length' => 6,
'allow_null' => false,
'default' => 0
),
),
'indexes' => array(
array(
'type' => 'primary',
'columns' => array( 'sas_mm_id' )
)
)
) );
return TRUE;
}