Use module site files system for the (un)install SQL scripts.

Changed CMS_TERM.id type to INTEGER_64 .
Removed CMS_TERM.parent_id .
Implemented CMS_TERM saving.
This commit is contained in:
2015-11-23 18:05:53 +01:00
parent 1d4ce37ebf
commit f1f3c126dd
6 changed files with 78 additions and 170 deletions

View File

@@ -43,7 +43,7 @@ feature -- Access
create {ARRAYED_LIST [CMS_VOCABULARY]} Result.make (0)
end
vocabulary (a_id: INTEGER): detachable CMS_VOCABULARY
vocabulary (a_id: INTEGER_64): detachable CMS_VOCABULARY
-- Vocabulary by id `a_id'.
do
end
@@ -53,7 +53,7 @@ feature -- Access
do
end
term_by_id (tid: INTEGER): detachable CMS_TERM
term_by_id (tid: INTEGER_64): detachable CMS_TERM
-- Term associated with id `tid'.
do
end
@@ -64,4 +64,12 @@ feature -- Access
create {ARRAYED_LIST [CMS_TERM]} Result.make (0)
end
feature -- Store
save_term (t: CMS_TERM)
-- Insert or update term `t'.
do
error_handler.add_custom_error (-1, "not implemented", "")
end
end