-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rsa fields to User model. (#360)
* Add rsa fields to User model. * Add migration. * Fixed build error. Took solution from 819c735 * Reorder migration after recent changes in develop.
- Loading branch information
1 parent
7aeaaca
commit 3f7eac3
Showing
3 changed files
with
34 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
backend/fleet_management/migrations/0020_auto_20191023_1925.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 2.1.2 on 2019-10-23 19:25 | ||
|
||
import django.core.validators | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('fleet_management', '0019_remove_passenger_model'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='user', | ||
name='rsa_modulus_n', | ||
field=models.CharField(default='', max_length=6, validators=[django.core.validators.MinLengthValidator(6)]), | ||
), | ||
migrations.AddField( | ||
model_name='user', | ||
name='rsa_priv_d', | ||
field=models.CharField(default='', max_length=6, validators=[django.core.validators.MinLengthValidator(6)]), | ||
), | ||
migrations.AddField( | ||
model_name='user', | ||
name='rsa_pub_e', | ||
field=models.CharField(default='', max_length=6, validators=[django.core.validators.MinLengthValidator(6)]), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters