Location: PHPKode > projects > DIY Blog > diy-blog/lib/propel/generator/templates/sql/base/pgsql/index.tpl
<?php foreach ($table->getIndices() as $index) { ?> 
CREATE <?php if($index->getIsUnique()) { ?>UNIQUE<?php } ?> INDEX <?php echo $index->getName() ?> ON <?php echo $table->getName() ?> (<?php echo $index->getColumnList()?>);
<?php } ?> 
Return current item: DIY Blog