File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,41 +14,41 @@ defmodule AshSqlite.Test.Device do
1414 end
1515
1616 actions do
17- defaults [ :read , :destroy ]
17+ defaults ( [ :read , :destroy ] )
1818
1919 create :create do
20- primary? true
21- accept [ :id , :name , :entity ]
20+ primary? ( true )
21+ accept ( [ :id , :name , :entity ] )
2222 end
2323
2424 update :update_entity do
25- accept [ :entity ]
25+ accept ( [ :entity ] )
2626 end
2727 end
2828
2929 attributes do
3030 attribute :id , :string do
31- writable? true
32- generated? false
33- primary_key? true
34- allow_nil? false
35- public? true
31+ writable? ( true )
32+ generated? ( false )
33+ primary_key? ( true )
34+ allow_nil? ( false )
35+ public? ( true )
3636 end
3737
3838 attribute :name , :string do
39- allow_nil? false
40- public? true
39+ allow_nil? ( false )
40+ public? ( true )
4141 end
4242
4343 attribute :entity , :map do
44- allow_nil? false
45- public? true
44+ allow_nil? ( false )
45+ public? ( true )
4646 end
4747
4848 timestamps ( )
4949 end
5050
5151 identities do
52- identity :unique_id , [ :id ]
52+ identity ( :unique_id , [ :id ] )
5353 end
5454end
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ defmodule AshSqlite.Test.Post do
6666 end
6767
6868 update :update_stuff do
69- accept [ :stuff ]
69+ accept ( [ :stuff ] )
7070 end
7171
7272 destroy :destroy_only_freds do
You can’t perform that action at this time.
0 commit comments