Commit bc080408 authored by BERJON Matthieu's avatar BERJON Matthieu

Update of the SQL schema for users table

I updated the Django migration file to force the order of the fields
generated in the rails database.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 460e8a8e
......@@ -91,8 +91,6 @@ class Migration(migrations.Migration):
name='User',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
('email', models.CharField(max_length=255, unique=True)),
('encrypted_password', models.CharField(max_length=255)),
('reset_password_token', models.CharField(max_length=255, null=True, unique=True)),
......@@ -103,6 +101,8 @@ class Migration(migrations.Migration):
('last_sign_in_at', models.DateTimeField(blank=True, null=True)),
('current_sign_in_ip', models.CharField(blank=True, max_length=255, null=True)),
('last_sign_in_ip', models.CharField(blank=True, max_length=255, null=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
('updated_at', models.DateTimeField(auto_now_add=True)),
('admin', models.IntegerField(default=False)),
('confirmation_token', models.CharField(blank=True, max_length=255, null=True, unique=True)),
('confirmed_at', models.DateTimeField(blank=True, null=True)),
......
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