You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							36 lines
						
					
					
						
							863 B
						
					
					
				
			
		
		
	
	
							36 lines
						
					
					
						
							863 B
						
					
					
				<?php
 | 
						|
/* For licensing terms, see /license.txt */
 | 
						|
 | 
						|
namespace Application\Migrations\Schema\V111;
 | 
						|
 | 
						|
use Application\Migrations\AbstractMigrationChamilo;
 | 
						|
use Doctrine\DBAL\Schema\Schema;
 | 
						|
use Doctrine\DBAL\Types\Type;
 | 
						|
 | 
						|
/**
 | 
						|
 * Class Version20160623143200
 | 
						|
 * Remove chatcall_date, chatcall_text, chatcall_user_id from User table
 | 
						|
 * @package Application\Migrations\Schema\V111
 | 
						|
 */
 | 
						|
class Version20160623143200 extends AbstractMigrationChamilo
 | 
						|
{
 | 
						|
    /**
 | 
						|
     * @param Schema $schema
 | 
						|
     * @throws \Doctrine\DBAL\Schema\SchemaException
 | 
						|
     */
 | 
						|
    public function up(Schema $schema)
 | 
						|
    {
 | 
						|
        $schema
 | 
						|
            ->getTable('user')
 | 
						|
            ->dropColumn('chatcall_user_id')
 | 
						|
            ->dropColumn('chatcall_date')
 | 
						|
            ->dropColumn('chatcall_text');
 | 
						|
    }
 | 
						|
 | 
						|
    /**
 | 
						|
     * @param Schema $schema
 | 
						|
     */
 | 
						|
    public function down(Schema $schema)
 | 
						|
    {
 | 
						|
    }
 | 
						|
} |