mirror of
https://github.com/SWG-Source/src.git
synced 2026-08-03 03:16:01 -04:00
Added database/sql
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
declare
|
||||
cnt number;
|
||||
begin
|
||||
select count(*) into cnt
|
||||
from user_tab_columns
|
||||
where table_name = 'VERSION_NUMBER' and column_name = 'BRANCH_NAME';
|
||||
if (cnt = 0) then
|
||||
execute immediate 'alter table version_number add branch_name varchar2(30)';
|
||||
end if;
|
||||
end;
|
||||
/
|
||||
|
||||
update version_number set version_number=209, min_version_number=209;
|
||||
Reference in New Issue
Block a user