public function migrate()
	{
		$table = 'fe_users';
		$column = 'siteid';

		$this->msg( sprintf( 'Adding "%1$s" column to "%2$s" table', $column, $table ), 0 );

		$schema = $this->getSchema( 'db-customer' );

		if( isset( $this->migrate[$schema->getName()] )
			&& $schema->tableExists( $table ) === true
			&& $schema->columnExists( $table, $column ) === false )
		{
			foreach ( $this->migrate[$schema->getName()] as $stmt )
			{
				$this->execute( $stmt );
			}
			$this->status( 'done' );
		}
		else
		{
			$this->status( 'OK' );
		}
	}
public function migrate()
	{
		$table = 'fe_users';
		$column = 'siteid';

		$this->msg( sprintf( 'Adding "%1$s" column to "%2$s" table', $column, $table ), 0 );

		$schema = $this->getSchema( 'db-customer' );

		if( isset( $this->migrate[$schema->getName()] )
			&& $schema->tableExists( $table ) === true
			&& $schema->columnExists( $table, $column ) === false )
		{
			foreach ( $this->migrate[$schema->getName()] as $stmt )
			{
				$this->execute( $stmt );
			}
			$this->status( 'done' );
		}
		else
		{
			$this->status( 'OK' );
		}
	}
public function migrate ( ) { $ table = 'fe_users' ; $ column = 'siteid' ; $ this -> msg ( sprintf ( 'Adding "%1$s" column to "%2$s" table' , $ column , $ table ) , 0 ) ; $ schema = $ this -> getSchema ( 'db-customer' ) ; if ( isset ( $ this -> migrate [ $ schema -> getName ( ) ] ) && $ schema -> tableExists ( $ table ) === true && $ schema -> columnExists ( $ table , $ column ) === false ) { foreach ( $ this -> migrate [ $ schema -> getName ( ) ] as $ stmt ) { $ this -> execute ( $ stmt ) ; } $ this -> status ( 'done' ) ; } else { $ this -> status ( 'OK' ) ; } }
Add column siteid to fe_users table.

@param array $stmts Associative array of tables names and lists of SQL statements to execute.
Add column siteid to fe_users table .