Skip to content

Commit

Permalink
Removing unused id from TimeStampPlugin
Browse files Browse the repository at this point in the history
Signed-off-by: Macartur Sousa <macartur.sc@gmail.com>
  • Loading branch information
macartur committed Jan 7, 2016
1 parent 330fb7a commit 0d62fac
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 20 additions & 0 deletions colab/plugins/migrations/0002_auto_20160106_1843.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations


class Migration(migrations.Migration):

dependencies = [
('plugins', '0001_initial'),
]

operations = [
migrations.AlterField(
model_name='timestampplugin',
name='id',
field=models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True),
preserve_default=True,
),
]
1 change: 0 additions & 1 deletion colab/plugins/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ class TimeStampPlugin(models.Model):
'''
Class used to store timestamps from plugins
'''
id = models.IntegerField(primary_key=True)
name = models.CharField(max_length=255, unique=True, null=False)
timestamp = models.DateTimeField(default=timezone.datetime.min, blank=True)

Expand Down

0 comments on commit 0d62fac

Please sign in to comment.