X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=maintenance%2Fmssql%2Farchives%2Fpatch-content.sql;h=a899f27e0264f38ec4d19677309a6070efd55cc0;hb=94d8579d2c03b579ae83d8503d38aa593c566feb;hp=c5b079ab58aca72a3b907ec5bfd043a7426dbf91;hpb=77e3624caba072521fbc1826af2d47f9b29f4032;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/mssql/archives/patch-content.sql b/maintenance/mssql/archives/patch-content.sql index c5b079ab58..a899f27e02 100644 --- a/maintenance/mssql/archives/patch-content.sql +++ b/maintenance/mssql/archives/patch-content.sql @@ -5,17 +5,17 @@ CREATE TABLE /*_*/content ( -- ID of the content object - content_id bigint unsigned NOT NULL CONSTRAINT PK_content PRIMARY KEY IDENTITY, + content_id bigint NOT NULL CONSTRAINT PK_content PRIMARY KEY IDENTITY, -- Nominal size of the content object (not necessarily of the serialized blob) - content_size int unsigned NOT NULL, + content_size int NOT NULL, -- Nominal hash of the content object (not necessarily of the serialized blob) content_sha1 varchar(32) NOT NULL, -- reference to model_id - content_model smallint unsigned NOT NULL CONSTRAINT FK_content_content_models FOREIGN KEY REFERENCES /*_*/content_models(model_id), + content_model smallint NOT NULL CONSTRAINT FK_content_content_models FOREIGN KEY REFERENCES /*_*/content_models(model_id), -- URL-like address of the content blob content_address nvarchar(255) NOT NULL -); \ No newline at end of file +);