tnc-ba / strongTNC

BYOD TNC Database Management Tool
GNU Affero General Public License v3.0
0 stars 0 forks source link

Default value for devices.trusted #220

Closed cfaessler closed 10 years ago

cfaessler commented 10 years ago

There should be a default value of 'false' to the trusted field in the devices table. Currently the OS IMV fails to create a new device entry in the database due to the not null constraint.

cfaessler commented 10 years ago

note to self: Apparently setting BooleanField(default=False) has no effect to the create table statement. No default value statement is generated by sqlall for sqlite....

https://code.djangoproject.com/ticket/4800