* requiring md5 and size of artifacts so that we can report them in artifact REST API

This commit is contained in:
Seth Call 2013-04-10 01:13:40 -05:00
parent 0364f7561d
commit c46a2c2a2c
2 changed files with 5 additions and 1 deletions

View File

@ -53,4 +53,5 @@ invited_users.sql
collapse_user_and_admin.sql
default_gender_to_null.sql
subscribe_email.sql
notifications.sql
notifications.sql
artifact_metadata.sql

3
up/artifact_metadata.sql Normal file
View File

@ -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;