mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-07-14 00:01:30 -04:00
14 lines
347 B
SQL
14 lines
347 B
SQL
declare
|
|
cnt number;
|
|
begin
|
|
select count(*) into cnt
|
|
from user_indexes
|
|
where table_name = 'PLAYERS' and index_name = 'PLAYERS_STATION_ID_IDX';
|
|
if (cnt = 0) then
|
|
execute immediate 'create index players_station_id_idx on players (station_id)';
|
|
end if;
|
|
end;
|
|
/
|
|
|
|
UPDATE version_number SET version_number = 248, min_version_number = 248;
|