PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/apps/learn/migrations/00.00.02_letters.php

http://zoop.googlecode.com/
PHP | 14 lines | 13 code | 1 blank | 0 comment | 0 complexity | ab3ce73246a57d1e271272290d6c2874 MD5 | raw file
 1<?php
 2class Migration_00_00_02 extends Migration
 3{
 4	function up()
 5	{
 6		$sql = "create index word_letter_word_id_idx on word_letter (word_id)";
 7		SqlAlterSchema($sql);
 8	}
 9	
10	function down()
11	{
12		SqlAlterSchema("drop index word_letter_word_id_idx");
13	}
14}