wso2 / wso2/docs-apim

Update the migration scripts to alter AM_KEY_MANAGER table by adding two new columns

Open
#4,163 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

API-M-4.0.0 component/migration help wanted Type/Improvement
Dominant language
CSS
Stars
99
Forks
708
Avg merge
1d 7h
Merged PRs (30d)
22

Description

Description:
With [1], two new columns has been added to AM_KEY_MANAGER table. Hence, the migration scripts should be updated in the master branch with the following SQL statements (Note: The below statements are for MySQL)

ALTER TABLE AM_KEY_MANAGER ADD TOKEN_TYPE VARCHAR(45) DEFAULT "ORIGINAL";

ALTER TABLE AM_KEY_MANAGER ADD EXTERNAL_REFERENCE_ID VARCHAR(100) DEFAULT NULL;

[1] https://github.com/wso2/carbon-apimgt/pull/10593

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the migration scripts that define or alter the AM_KEY_MANAGER table, then review PR 10593 for the schema change context. Update the MySQL migration with TOKEN_TYPE and EXTERNAL_REFERENCE_ID as specified, and verify the migration applies successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql
Domain
database
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.