~alliancecsf-dev/authpuppy/apAuthFacebookPlugin

« back to all changes in this revision

Viewing changes to lib/migration/doctrine/001_Addappid.php

  • Committer: Genevieve Bastien
  • Date: 2013-01-19 01:08:38 UTC
  • Revision ID: gbastien02@gmail.com-20130119010838-4758ki1qmb7y63ji
Authenticator using Facebook credentials to login

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
 
 
3
class Addappid extends Doctrine_Migration_Base
 
4
{
 
5
  public function up()
 
6
  {
 
7
    $this->addColumn('nodes', 'fb_app_id', 'string', 50, array('length' => '50'));
 
8
  }
 
9
 
 
10
  public function down()
 
11
  {
 
12
    $this->removeColumn('nodes', 'fb_app_id');
 
13
  }
 
14
}