File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1256,7 +1256,8 @@ defmodule AshPostgres.MigrationGenerator do
12561256 |> Enum . max ( fn -> 0 end )
12571257 |> Kernel . + ( 1 )
12581258
1259- { "#{ timestamp ( ) } _migrate_resources#{ count } #{ split_suffix } " , "migrate_resources#{ count } #{ split_suffix } " }
1259+ { "#{ timestamp ( ) } _migrate_resources#{ count } #{ split_suffix } " ,
1260+ "migrate_resources#{ count } #{ split_suffix } " }
12601261 end
12611262
12621263 migration_file =
Original file line number Diff line number Diff line change @@ -929,20 +929,22 @@ defmodule AshPostgres.MigrationGenerator.Operation do
929929
930930 import Helper
931931
932- def up ( % {
933- identity: % {
934- name: name ,
935- keys: keys ,
936- nils_distinct?: nils_distinct? ,
937- where: where ,
938- base_filter: base_filter ,
939- index_name: index_name ,
940- all_tenants?: all_tenants?
941- } ,
942- table: table ,
943- schema: schema ,
944- multitenancy: multitenancy
945- } = op ) do
932+ def up (
933+ % {
934+ identity: % {
935+ name: name ,
936+ keys: keys ,
937+ nils_distinct?: nils_distinct? ,
938+ where: where ,
939+ base_filter: base_filter ,
940+ index_name: index_name ,
941+ all_tenants?: all_tenants?
942+ } ,
943+ table: table ,
944+ schema: schema ,
945+ multitenancy: multitenancy
946+ } = op
947+ ) do
946948 keys = index_keys ( keys , all_tenants? , multitenancy )
947949
948950 index_name = index_name || "#{ table } _#{ name } _index"
You can’t perform that action at this time.
0 commit comments