mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			322 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			322 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
use console\db\Migration;
 | 
						|
 | 
						|
class m160803_185857_permission_email_access extends Migration {
 | 
						|
 | 
						|
    public function safeUp() {
 | 
						|
        $this->insert('{{%oauth_scopes}}', ['id' => 'account_email']);
 | 
						|
    }
 | 
						|
 | 
						|
    public function safeDown() {
 | 
						|
        $this->delete('{{%oauth_scopes}}', ['id' => 'account_email']);
 | 
						|
    }
 | 
						|
 | 
						|
}
 |