defmodule DaProductApp.Repo.Migrations.CreateAcquirerConnection do use Ecto.Migration def change do create table(:acquirer_connection, primary_key: false) do add :id, :integer, primary_key: true, null: false add :acquirer_id, :integer add :ip_address, :string, size: 45, null: false add :port, :integer, null: false add :is_ssl, :integer, size: 1 add :keystore_path, :string, size: 255 add :keystore_password, :string, size: 45 add :truststore_path, :string, size: 255 add :truststore_password, :string, size: 45 add :tpdu, :string, size: 45 add :length_mode, :string, size: 45 end create index(:acquirer_connection, [:acquirer_id]) end end