Files
src-1.2/game/server/database/updates/s3/3.sql
T
2014-01-17 07:03:16 -07:00

11 lines
268 B
SQL

declare
cnt number;
begin
select count(*) into cnt from user_tab_columns
where table_name = 'PLAYER_OBJECTS' and column_name = 'ROLE_ICON_CHOICE';
if (cnt = 0) then
execute immediate 'alter table player_objects add role_icon_choice int';
end if;
end;
/