Skip to content

Commit

Permalink
move migrations into silauth directory and update yii2-config.php wit…
Browse files Browse the repository at this point in the history
…h new migrations location
  • Loading branch information
briskt committed Jun 11, 2024
1 parent a69735c commit 282dc5a
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
],
"psr-4": {
"Sil\\SspBase\\Features\\": "features/",
"Sil\\SilAuth\\migrations\\": "migrations/"
"Sil\\SilAuth\\migrations\\": "modules/silauth/migrations/"
}
},
"config": {
Expand Down
3 changes: 2 additions & 1 deletion modules/silauth/lib/Auth/Source/config/yii2-config.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'id' => 'SilAuth',
'aliases' => [
'@SimpleSAML/Module/silauth/Auth/Source' => __DIR__ . '/..',
'@Sil/SilAuth' => __DIR__ . '/../../../..',
],
'bootstrap' => [
'gii',
Expand Down Expand Up @@ -57,7 +58,7 @@
'migrate' => [
'class' => 'yii\console\controllers\MigrateController',
'migrationNamespaces' => [
'SimpleSAML\\Module\\silauth\\Auth\\Source\\migrations\\',
'Sil\\SilAuth\\migrations\\',
],

// Disable non-namespaced migrations.
Expand Down
File renamed without changes.

0 comments on commit 282dc5a

Please sign in to comment.