Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration of migration #66

Open
Legion112 opened this issue Mar 15, 2018 · 1 comment
Open

Configuration of migration #66

Legion112 opened this issue Mar 15, 2018 · 1 comment

Comments

@Legion112
Copy link

I've never seen something similar before

Apply migrations

	'controllerMap' => [
	...
	'migrate' => [
		'class' => 'yii\console\controllers\MigrateController',
		'migrationNamespaces' => [
			'nemmo\attachments\migrations',
		],
	],
	...
	],

php yii migrate/up

I'm using the advanced template.
Where am I must put this config?

@philippfrenzel
Copy link

put this into your src/config/main.php or whatever application template you use...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants