root/trunk/data/migrations/001_m1.php

Revision 2, 355 bytes (checked in by nperriault, 10 months ago)

First commit of the extracted code from production, I hope no passwd has been forgotten :-)

Line 
1 <?php
2 class Migration001 extends sfMigration
3 {
4
5   // Adding budget column for jobs table
6   public function up()
7   {
8     $this->executeSQL("ALTER TABLE jobs ADD COLUMN `budget` VARCHAR(255)");
9   }
10
11   // Dropping budget column for jobs table
12   public function down()
13   {
14     $this->executeSQL("ALTER TABLE jobs DROP COLUMN `budget`");
15   }
16
17 }
18
Note: See TracBrowser for help on using the browser.