how to add field for bsdUser in account/models.py

Status
Not open for further replies.

yimng

Cadet
Joined
Jun 21, 2013
Messages
6
I add a field to the bsdUser and build it again, but it seems that the field does't add in the database. Could any body help? What is the procee to add a field to the bsdUser?
 

warri

Guru
Joined
Jun 6, 2011
Messages
1,193
I never modified FreeNAS, but from my experience with Django you have to delete the database and issue a syncdb command for it to rebuild. Migrations (i.e. altering existing tables) are not supported out of the box.

But again, I have no idea how the FreeNAS build process actually works, just a quick thought.
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Why do you need an extra field?

Its completely unadvised to do such things, it will break compatibility with upstream.
 
Status
Not open for further replies.
Top