Current section
Files
Jump to
Current section
Files
priv/repo/migrations/20170322072247_create_channel.exs
defmodule Slackjack.Repo.Migrations.CreateChannel do
use Ecto.Migration
def change do
create table(:channels, primary_key: false) do
add :id, :string, primary_key: true
add :name, :string
add :name_normalized, :string
timestamps()
end
end
end