-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add additional schema indexes #76
Comments
Here is a good resource https://vanseodesign.com/web-design/create-add-indexes-mysql/ |
@josephmancuso assign to me |
I added |
@josephmancuso We have an issue. CREATE TABLE Customer(
LastName CHAR(30) NOT NULL,
FirstName CHAR(30) NOT NULL,
Email CHAR(50) NOT NULL,
INDEX (LastName,FirstName)
); or CREATE TABLE Customer(
lastname varchar(30) not null,
firstname varchar(30) not null,
Email CHAR(50) not null,
constraint email_lastname_unique UNIQUE (email, lastname)
); |
I think we should fix it before continue |
Hmm you are right. I'm gonna take another look at the schema stuff because the grammars for that are all broken down. They aren't well connected like the select query is. Let me take a look at that tonight |
It seems to be difficult for you and @Marlysson to build these things out so thats a foundation problem |
Okay |
yeah let me refactor some of the schema stuff first @Marlysson |
@josephmancuso Do I keep the code intact while do you refactor this part, for while? |
yeah just keep everything the same. I will take a look tonight |
need to make sure we have:
primary
index
unique
fulltext
We should have
primary
alreadyThe text was updated successfully, but these errors were encountered: