mirror of
https://github.com/SWG-Source/src.git
synced 2026-01-15 23:05:01 -05:00
Add DB Version 271 to add active resource data view
This commit is contained in:
3
game/server/database/updates/271.sql
Normal file
3
game/server/database/updates/271.sql
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
create or replace view active_resources_data as
|
||||||
|
SELECT resource_id, resource_name, resource_class, regexp_substr(attributes, '[[:alpha:]_]+', 1, lines.column_value) attribute_name, regexp_substr(attributes, '\d+', 1, lines.column_value) attribute_value FROM resource_types, TABLE (CAST (MULTISET (SELECT LEVEL FROM dual CONNECT BY regexp_substr(attributes, '[^:]+', 1, LEVEL) IS NOT NULL) AS sys.odciNumberList)) lines WHERE depleted_timestamp >= (SELECT last_save_time FROM clock);
|
||||||
|
update version_number set version_number=271, min_version_number=271;
|
||||||
Reference in New Issue
Block a user