Skip to content

Commit

Permalink
#800 uri field in contentdescriptor is changed. change also added in …
Browse files Browse the repository at this point in the history
…update script
  • Loading branch information
DavidBlaa committed Oct 1, 2021
1 parent 8fe2e29 commit 191f296
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Expand Up @@ -29,8 +29,8 @@
<column name="Name" index="idx_ContentDescriptors_id"/>
</property>

<property name="URI" type="String">
<column name="URI" />
<property name="URI" type="StringClob">
<column name="URI" sql-type="text"/>
</property>

<many-to-one class="DatasetVersion" name="DatasetVersion" column="DatasetVersionRef" not-null="true">
Expand Down
11 changes: 11 additions & 0 deletions database update scripts/Update_Script_2144to2145.sql
@@ -0,0 +1,11 @@
BEGIN TRANSACTION;

-- ROLLBACK TRANSACTION;
alter table ContentDescriptors alter column URI TYPE text;

-- Insert Data
INSERT INTO public.versions(
versionno, extra, module, value, date)
VALUES (1, null, 'Shell', '2.14.5',NOW());

COMMIT;

0 comments on commit 191f296

Please sign in to comment.