Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jherencia committed Feb 16, 2017
1 parent 9cef4ef commit 5b43c37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion db_mutex/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Migration(migrations.Migration):
name='DBMutex',
fields=[
('id', models.AutoField(serialize=False, auto_created=True, verbose_name='ID', primary_key=True)),
('lock_id', models.CharField(unique=True, max_length=256)),
('lock_id', models.CharField(unique=True, max_length=255)),
('creation_time', models.DateTimeField(auto_now_add=True)),
],
options={
Expand Down
4 changes: 2 additions & 2 deletions db_mutex/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ class DBMutex(models.Model):
Models a mutex lock with a ``lock_id`` and a ``creation_time``.
:type lock_id: str
:param lock_id: A unique CharField with a max length of 256
:param lock_id: A unique CharField with a max length of 255
:type creation_time: datetime
:param creation_time: The creation time of the mutex lock
"""
lock_id = models.CharField(max_length=256, unique=True)
lock_id = models.CharField(max_length=255, unique=True)
creation_time = models.DateTimeField(auto_now_add=True)

class Meta:
Expand Down

0 comments on commit 5b43c37

Please sign in to comment.