Skip to content

Conversation

@stranac
Copy link

@stranac stranac commented Jun 30, 2021

No description provided.

ALTER TABLE `" . DB_PREFIX . "currency`
MODIFY `code` VARCHAR(4) COLLATE utf8_general_ci NOT NULL;
");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a check if table is 3 charters should be done before editing table

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can add it if you think it's needed, but "modifying" it from 4 to 4 simply won't make any changes, so I thought it wasn't necessary.

Copy link
Author

@stranac stranac Jul 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants