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

Feature Request: Change varbinary to varchar in schemas used in examples folder #17318

Merged
merged 8 commits into from
Jan 3, 2025
Next Next commit
changing varbinary to varchar in schemas used for local examples
Signed-off-by: arthmis <artmis9@protonmail.com>
  • Loading branch information
arthmis committed Dec 2, 2024
commit b2ff66b02350858fb0c4599ea9e7877eaeff544c
8 changes: 4 additions & 4 deletions examples/local/create_commerce_schema.sql
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
create table if not exists product(
sku varbinary(128),
description varbinary(128),
sku varchar(128),
description varchar(128),
price bigint,
primary key(sku)
) ENGINE=InnoDB;
create table if not exists customer(
customer_id bigint not null auto_increment,
email varbinary(128),
email varchar(128),
primary key(customer_id)
) ENGINE=InnoDB;
create table if not exists corder(
order_id bigint not null auto_increment,
customer_id bigint,
sku varbinary(128),
sku varchar(128),
price bigint,
primary key(order_id)
) ENGINE=InnoDB;