/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
- <?php
- class Migration_00_00_02 extends Migration
- {
- function up()
- {
- $sql = "create index word_letter_word_id_idx on word_letter (word_id)";
- SqlAlterSchema($sql);
- }
-
- function down()
- {
- SqlAlterSchema("drop index word_letter_word_id_idx");
- }
- }