Skip to content

Commit

Permalink
chore: not sure what to do with that... MySQL has built in enum and n…
Browse files Browse the repository at this point in the history
…o defined types
  • Loading branch information
lejoko committed May 16, 2024
1 parent bcd1a18 commit 1574e6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/support/types/status_enum.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ defmodule AshMysql.Test.Types.StatusEnum do
@moduledoc false
use Ash.Type.Enum, values: [:open, :closed]

def storage_type, do: :status
#def storage_type, do: :status
end
2 changes: 1 addition & 1 deletion test/support/types/status_enum_no_cast.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule AshMysql.Test.Types.StatusEnumNoCast do
@moduledoc false
use Ash.Type.Enum, values: [:open, :closed]

def storage_type, do: :status
#def storage_type, do: :status

def cast_in_query?, do: false
end

0 comments on commit 1574e6d

Please sign in to comment.