File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,16 @@ jobs:
6868 - postgresql
6969 - mysql2
7070 - oracle_enhanced
71+ - postgis
7172 # - trilogy
7273 exclude :
7374 - rails : rails_7.1.0
7475 adapter : oracle_enhanced
7576
77+ - rails : rails_7.1.0
78+ adapter : postgis
79+ ruby : 2.7'
80+
7681 steps :
7782 - name : Checkout
7883 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 44 database : ajax_datatables_rails
55 encoding : utf8
66
7- <% if adapter == 'postgresql' % >
7+ <% if adapter == 'postgresql' || adapter == 'postgis' % >
88 host : ' 127.0.0.1'
99 port : 5432
1010 username : ' postgres'
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ def self.mysql?
7777 end
7878
7979 def self . postgresql?
80- ENV [ 'DB_ADAPTER' ] == 'postgresql'
80+ ENV [ 'DB_ADAPTER' ] == 'postgresql' || ENV [ 'DB_ADAPTER' ] == 'postgis'
8181 end
8282end
8383
You can’t perform that action at this time.
0 commit comments