EctoTablestore.Migration.create

You're seeing just the macro create, go back to EctoTablestore.Migration module for more information.
Link to this macro

create(object, list)

View Source (macro)

Define the primary key(s) of the table to create.

By default, the table will also include an :id primary key field (it is also partition key) that has a type of :integer which is an autoincrementing column. Check the table/2 docs for more information.

There are up to 4 primary key(s) can be added when creation.

Example

create table("posts") do
  add :title, :string
end

# The above is equivalent to

create table("posts") do
  add :id, :integer, partition_key: true, auto_increment: true
  add :title, :string
end