mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			311 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			311 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
use console\db\Migration;
 | 
						|
 | 
						|
class m200611_123017_accounts_deletion extends Migration {
 | 
						|
 | 
						|
    public function safeUp() {
 | 
						|
        $this->addColumn('accounts', 'deleted_at', $this->integer(11)->unsigned());
 | 
						|
    }
 | 
						|
 | 
						|
    public function safeDown() {
 | 
						|
        $this->dropColumn('accounts', 'deleted_at');
 | 
						|
    }
 | 
						|
 | 
						|
}
 |