Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for index definition key (columns) #52

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DQinYuan
Copy link

For issue #51

like mysql

CREATE TABLE `table10_int_autoinc` (
   `col_float_key` float, 
   `col_time_key` time, 
   pk integer auto_increment,  
   key (`col_float_key`), 
   key (`col_time_key`), 
   primary key (pk))

will be equivalent to

CREATE TABLE `table10_int_autoinc` (
   `col_float_key` float, 
   `col_time_key` time, 
   pk integer auto_increment,  
   key `col_float_key` (`col_float_key`), 
   key `col_float_key`  (`col_time_key`), 
   primary key (pk))

and

CREATE TABLE `table10_int_autoinc` (
   `col_float_key` float, 
   `col_time_key` time, 
   pk integer auto_increment,  
   key (`col_float_key`, `col_time_key`), 
   primary key (pk))

will equivalent to

CREATE TABLE `table10_int_autoinc` (
   `col_float_key` float, 
   `col_time_key` time, 
   pk integer auto_increment,  
   key `col_float_key`  (`col_float_key`, `col_time_key`), 
   primary key (pk))

@coveralls
Copy link

coveralls commented Jul 31, 2019

Coverage Status

Coverage decreased (-0.6%) to 88.141% when pulling 70e29e6 on DQinYuan:master into 1203878 on xwb1989:master.

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