Skip to content

Commit

Permalink
Merge pull request #1585 from eiffel777/convert-moddb-to-innodb
Browse files Browse the repository at this point in the history
Convert tables in moddb database to the InnoDB table engine
  • Loading branch information
eiffel777 authored Dec 14, 2021
2 parents 8d274d7 + e7909e1 commit 28316c6
Show file tree
Hide file tree
Showing 16 changed files with 45 additions and 15 deletions.
30 changes: 30 additions & 0 deletions configuration/etl/etl.d/xdmod-migration-9_5_0-10_0_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,36 @@
}
}
},
{
"name": "update-moddb-tables-to-innodb",
"description": "Update moddb tables to InnoDB",
"class": "ManageTables",
"definition_file_list": [
"xdb/account-requests.json",
"xdb/api-keys.json",
"xdb/chart-pool.json",
"xdb/colors.json",
"xdb/exception-email-addresses.json",
"xdb/report-template-charts.json",
"xdb/report-templates.json",
"xdb/reports.json",
"xdb/restx509.json",
"xdb/schema-version-history.json",
"xdb/session-manager.json",
"xdb/user-profiles.json",
"xdb/user-types.json",
"xdb/version-check.json",
"acls/report-template-acls-staging.json"
],
"endpoints": {
"destination": {
"type": "mysql",
"name": "XDMoD Data Warehouse",
"config": "datawarehouse",
"schema": "moddb"
}
}
},
{
"name": "update-modw-tables-to-innodb",
"description": "Update modw_cloud tables to InnoDB",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "report_template_acls_staging",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "template_id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/account-requests.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "AccountRequests",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/api-keys.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "APIKeys",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/chart-pool.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "ChartPool",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "user_id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/colors.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "Colors",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "color",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "ExceptionEmailAddresses",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "email_address",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "ReportTemplateCharts",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "template_id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/report-templates.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "ReportTemplates",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/reports.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "Reports",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "report_id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/restx509.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "RESTx509",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "id",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "schema_version_history",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "database_name",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/session-manager.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "SessionManager",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "session_token",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/user-profiles.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "UserProfiles",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "user_id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/user-types.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "UserTypes",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "id",
Expand Down
2 changes: 1 addition & 1 deletion configuration/etl/etl_tables.d/xdb/version-check.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"table_definition": {
"name": "VersionCheck",
"engine": "MyISAM",
"engine": "InnoDB",
"columns": [
{
"name": "entry_date",
Expand Down

0 comments on commit 28316c6

Please sign in to comment.