Skip to content

Commit

Permalink
remove default from text datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
glynhudson committed Sep 20, 2018
1 parent b06f7d1 commit 6793491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions device_schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
'id' => array('type' => 'int(11)', 'Null'=>false, 'Key'=>'PRI', 'Extra'=>'auto_increment'),
'userid' => array('type' => 'int(11)'),
'nodeid' => array('type' => 'text'),
'name' => array('type' => 'text', 'default'=>''),
'description' => array('type' => 'text','default'=>''),
'name' => array('type' => 'text'),
'description' => array('type' => 'text'),
'type' => array('type' => 'varchar(32)'),
'devicekey' => array('type' => 'varchar(64)'),
'time' => array('type' => 'int(10)')
Expand Down

0 comments on commit 6793491

Please sign in to comment.