Skip to content

Commit

Permalink
Fixes #4. correct the order of the tables to drop
Browse files Browse the repository at this point in the history
  • Loading branch information
elielhaouzi committed Apr 30, 2023
1 parent 55a7eff commit e3d74e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions lib/annacl/migrations/v1.ex
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ defmodule Annacl.Migrations.V1 do
end

def down do
drop_permissions_table()
drop_roles_table()
drop_permission_role_table()
drop_performers_table()
drop_performer_role_table()
drop_performer_permission_table()
drop_performer_role_table()
drop_performers_table()
drop_permission_role_table()
drop_roles_table()
drop_permissions_table()
end

defp create_permissions_table do
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Annacl.MixProject do
use Mix.Project

@source_url "https://github.com/annatel/annacl"
@version "2.0.0"
@version "2.1.0"

def project do
[
Expand Down

0 comments on commit e3d74e8

Please sign in to comment.