Commit a291c780 authored by John Red Medrano's avatar John Red Medrano

Merge pull request #39 in RMS/api-main-service from risty-develop to dev

* commit '510a53e5':
  Modified application table.
parents 2a3c1256 510a53e5
# Generated by Django 2.1.5 on 2019-06-19 15:55
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('api', '0006_auto_20190619_1524'),
]
operations = [
migrations.AlterField(
model_name='application',
name='theme',
field=models.IntegerField(default=1),
),
]
......@@ -5,7 +5,7 @@ from django.utils import timezone
class Application(models.Model):
application_no = models.CharField(max_length=250)
name = models.CharField(max_length=200, unique=True)
theme = models.IntegerField(blank=True, default=1)
theme = models.IntegerField(default=1)
code = models.CharField(max_length=300)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=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