create_table :products do |t|
t.belongs_to :store
end
# https://api.rubyonrails.org/v7.0.6/classes/ActiveRecord/ConnectionAdapters/SchemaStatements.html#method-i-add_reference
# :type
# The reference column type. Defaults to :bigint.
# :index
# Add an appropriate index. Defaults to true. See add_index for usage of this option.
# :foreign_key
# Add an appropriate foreign key constraint. Defaults to false, pass true to add. In case the join table can't be inferred from the association pass :to_table with the appropriate table name.
# :polymorphic
# Whether an additional _type column should be added. Defaults to false.
# :null
# Whether the column allows nulls. Defaults to true.