diff --git a/manifest b/manifest index affb2f241..20b88102d 100644 --- a/manifest +++ b/manifest @@ -53,4 +53,5 @@ invited_users.sql collapse_user_and_admin.sql default_gender_to_null.sql subscribe_email.sql -notifications.sql \ No newline at end of file +notifications.sql +artifact_metadata.sql diff --git a/up/artifact_metadata.sql b/up/artifact_metadata.sql new file mode 100644 index 000000000..77905a8d3 --- /dev/null +++ b/up/artifact_metadata.sql @@ -0,0 +1,3 @@ +-- add a size field and make md5 required +ALTER TABLE artifact_updates ADD COLUMN size INTEGER NOT NULL; +ALTER TABLE artifact_updates ALTER COLUMN sha1 SET NOT NULL;