Commit c9476756 authored by Thomas Goirand's avatar Thomas Goirand

More fixes of defaults.

parent 72caf996
......@@ -74,13 +74,13 @@ $database = array(
"machines" => array(
"vars" => array(
"id" => "int(11) NOT NULL auto_increment",
"memory" => "int(11) NOT NULL default ''",
"memory" => "int(11) NOT NULL default '0'",
"ipaddr" => "varchar(255) NOT NULL default ''",
"serial" => "varchar(128) NOT NULL default ''",
"product_name" => "varchar(128) NOT NULL default ''",
"hostname" => "varchar(255) NOT NULL default ''",
"installed" => "enum('yes','no') NOT NULL default 'no'",
"lastseen" => "timestamp NOT NULL default 'CURRENT_TIMESTAMP'",
"lastseen" => "timestamp NOT NULL default 'current_timestamp()'",
"status" => "varchar(128) NOT NULL default 'None'",
"role" => "varchar(64) NOT NULL default ''",
"cluster" => "int(11) NULL default NULL",
......
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