Skip to content

Commit

Permalink
pushing new version to support unique tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaugher committed May 26, 2023
1 parent 574e866 commit cf6b765
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule TagsMultiTenant.Mixfile do
def project do
[app: :tags_multi_tenant,
name: "TagsMultiTenant",
version: "0.1.12",
version: "0.1.14",
elixir: "~> 1.10",
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
Expand Down
4 changes: 3 additions & 1 deletion priv/repo/migrations/20170602075902_create_tag.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ defmodule TagsMultiTenant.Repo.Migrations.CreateTag do

def change do
create table(:tags) do
add :name, :string, null: false
add(:name, :string, null: false)
end

create_if_not_exists(unique_index(:tags, [:name], name: :tags_name_key))
end
end

This file was deleted.

0 comments on commit cf6b765

Please sign in to comment.