Skip to content

Conversation

@williamdes
Copy link
Member

Fixes: #330

Signed-off-by: William Desportes <williamdes@wdes.fr>
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member Author

What do you think about this small change @iifawzi @Tithugues @niconoe- ?
Is this the right way to add it ?
KEY is already in contexts
And I added the test cases in 87f1dfa

@williamdes williamdes added this to the 5.8.0 milestone Apr 21, 2023
@williamdes williamdes linked an issue Apr 21, 2023 that may be closed by this pull request
@codecov
Copy link

codecov bot commented Apr 21, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (87f1dfa) 97.04% compared to head (0d37022) 97.04%.

Additional details and impacted files
@@            Coverage Diff            @@
##              5.8.x     #441   +/-   ##
=========================================
  Coverage     97.04%   97.04%           
  Complexity     2218     2218           
=========================================
  Files            69       69           
  Lines          5107     5107           
=========================================
  Hits           4956     4956           
  Misses          151      151           
Impacted Files Coverage Δ
src/Components/CreateDefinition.php 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Tithugues
Copy link
Contributor

What do you think about this small change @iifawzi @Tithugues @niconoe- ? Is this the right way to add it ? KEY is already in contexts And I added the test cases in 87f1dfa

Yes, it seems to be OK. But as we add this option, I think we should try to support INDEX as well (see CREATE table definition).

@williamdes
Copy link
Member Author

What do you think about this small change @iifawzi @Tithugues @niconoe- ? Is this the right way to add it ? KEY is already in contexts And I added the test cases in 87f1dfa

Yes, it seems to be OK. But as we add this option, I think we should try to support INDEX as well (see CREATE table definition).

Thank you !
I will make another PR, would you mind having a look to the two other ones I did ?

@williamdes williamdes self-assigned this Apr 21, 2023
williamdes added a commit that referenced this pull request Apr 22, 2023
Pull-request: #441

Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes merged commit 1c35fdc into phpmyadmin:5.8.x Apr 22, 2023
@williamdes williamdes deleted the fix-330 branch April 22, 2023 11:48
@williamdes
Copy link
Member Author

Hi @Tithugues

I have tried to find out an example about INDEX but I think we already support that.
See: 52608cb

@Tithugues
Copy link
Contributor

Hi @Tithugues

I have tried to find out an example about INDEX but I think we already support that. See: 52608cb

Sorry, I misread the MySQL documentation! There is no INDEX option to support. 🙏

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.

Support "KEY" in table creation

3 participants