git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit f926e27a authored by mmn's avatar mmn

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