From 703481d997e3971bf0fe01baa2a7fa370e6f9e5d Mon Sep 17 00:00:00 2001 From: quux Date: Wed, 17 Apr 2019 17:23:51 -0400 Subject: [PATCH 1/2] Fix typo in mysql migration file for org secrets --- .../migrate/mysql/files/012_create_table_global_secrets.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/shared/migrate/mysql/files/012_create_table_global_secrets.sql b/store/shared/migrate/mysql/files/012_create_table_global_secrets.sql index 62808956..917abad4 100644 --- a/store/shared/migrate/mysql/files/012_create_table_global_secrets.sql +++ b/store/shared/migrate/mysql/files/012_create_table_global_secrets.sql @@ -1,7 +1,7 @@ -- name: create-table-org-secrets CREATE TABLE IF NOT EXISTS orgsecrets ( - secret_id INTEGER PRIMARY KEY AUTOINCREMENT + secret_id INTEGER PRIMARY KEY AUTO_INCREMENT ,secret_namespace VARCHAR(50) ,secret_name VARCHAR(200) ,secret_type VARCHAR(50) From b9c812379b6103975261034f717ce15e9c3d6a7c Mon Sep 17 00:00:00 2001 From: quux Date: Wed, 17 Apr 2019 17:39:55 -0400 Subject: [PATCH 2/2] Fix mysql typo in ddl_gen --- store/shared/migrate/mysql/ddl_gen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/store/shared/migrate/mysql/ddl_gen.go b/store/shared/migrate/mysql/ddl_gen.go index 9511db2b..64e46d86 100644 --- a/store/shared/migrate/mysql/ddl_gen.go +++ b/store/shared/migrate/mysql/ddl_gen.go @@ -567,7 +567,7 @@ ALTER TABLE builds ADD COLUMN build_cron VARCHAR(50) NOT NULL DEFAULT ''; var createTableOrgSecrets = ` CREATE TABLE IF NOT EXISTS orgsecrets ( - secret_id INTEGER PRIMARY KEY AUTOINCREMENT + secret_id INTEGER PRIMARY KEY AUTO_INCREMENT ,secret_namespace VARCHAR(50) ,secret_name VARCHAR(200) ,secret_type VARCHAR(50)