vitess.io/vitess@v0.16.2/examples/local/create_commerce_schema.sql (about)

     1  create table product(
     2    sku varbinary(128),
     3    description varbinary(128),
     4    price bigint,
     5    primary key(sku)
     6  ) ENGINE=InnoDB;
     7  create table customer(
     8    customer_id bigint not null auto_increment,
     9    email varbinary(128),
    10    primary key(customer_id)
    11  ) ENGINE=InnoDB;
    12  create table corder(
    13    order_id bigint not null auto_increment,
    14    customer_id bigint,
    15    sku varbinary(128),
    16    price bigint,
    17    primary key(order_id)
    18  ) ENGINE=InnoDB;