Skip to content

Commit

Permalink
Adding the updates to the correct migration
Browse files Browse the repository at this point in the history
It turns out that things work better ( or at all ) when you have them running in
the correct migration.
  • Loading branch information
Ryan Rathsam committed Mar 30, 2021
1 parent c4d744e commit ef07101
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions configuration/etl/etl.d/xdmod-migration-9_0_0-9_5_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,43 @@
"schema": "mod_shredder"
}
}
},
{
"name": "update-Users-table",
"description": "Updating Users.username to not allow null values.",
"class": "ManageTables",
"definition_file_list": [
"xdb/users.json"
],
"endpoints": {
"destination": {
"type": "mysql",
"name": "XDMoD Database",
"config": "database",
"schema": "moddb"
}
}
},
{
"name": "moddb-disable-empty-usernames",
"description": "Disable any accounts that have empty username values.",
"namespace": "ETL\\Maintenance",
"class": "ExecuteSql",
"options_class": "MaintenanceOptions",
"sql_file_list": [
{
"delimiter": ";",
"sql_file": "migrations/9.0.0-9.5.0/moddb/disable_empty_username.sql"
}
],
"endpoints": {
"destination": {
"type": "mysql",
"name": "XDMoD Database",
"config": "database",
"schema": "moddb"
}
}
}
],
"cloud-migration-9_0_0-9_5_0": [
Expand Down

0 comments on commit ef07101

Please sign in to comment.