Mercurial > hg > orthanc
diff OrthancServer/PrepareDatabase2.sql @ 192:c56dc32266e0
refactoring getfile
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Nov 2012 11:29:43 +0100 |
parents | b6cef9d45cc3 |
children | 530a25320461 |
line wrap: on
line diff
--- a/OrthancServer/PrepareDatabase2.sql Tue Nov 13 11:22:33 2012 +0100 +++ b/OrthancServer/PrepareDatabase2.sql Tue Nov 13 11:29:43 2012 +0100 @@ -27,12 +27,12 @@ CREATE TABLE AttachedFiles( id INTEGER REFERENCES Resources(internalId) ON DELETE CASCADE, - name TEXT, + contentName TEXT, uuid TEXT, compressedSize INTEGER, uncompressedSize INTEGER, compressionType INTEGER, - PRIMARY KEY(id, name) + PRIMARY KEY(id, contentName) ); CREATE TABLE Changes(