We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f926e27a authored by mattl's avatar mattl

urlhash will _be_ NULL on update, so NOT NULL won't work

parent c31d6608
......@@ -648,7 +648,7 @@ class File extends Managed_DataObject
$schemadef['fields']['urlhash'] = array (
'type' => 'varchar',
'length' => 64,
'not null' => true,
'not null' => false, // this is because when adding column, all entries will _be_ NULL!
'description' => 'sha256 of destination URL (url field)',
$schemadef['fields']['url'] = array (
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment