Skip to content

Commit

Permalink
allow null values in caption
Browse files Browse the repository at this point in the history
  • Loading branch information
karsasmus committed Apr 19, 2017
1 parent 0fa4f9d commit 79631b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/source/classes/Models/Ddl/Upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public function __construct($t = null){

$this->columns = [
new \Zend\Db\Sql\Ddl\Column\Integer('id', false, null, ['auto_increment' => true]),
new \Zend\Db\Sql\Ddl\Column\Varchar('caption', 191),
new \Zend\Db\Sql\Ddl\Column\Varchar('caption', 191, true),
new \Zend\Db\Sql\Ddl\Column\Datetime('created'),
new \Zend\Db\Sql\Ddl\Column\Varchar('path', 191),
new \Zend\Db\Sql\Ddl\Column\Varchar('filename', 90),
Expand Down

0 comments on commit 79631b4

Please sign in to comment.