1, 'type_code' => 'hour', 'period' => 1, 'period_type' => 'HOUR', ), array( 'type_id' => 2, 'type_code' => 'day', 'period' => 1, 'period_type' => 'DAY', ), ); foreach ($data as $bind) { $installer->getConnection()->insertForce($installer->getTable('log/summary_type_table'), $bind); }