forked from GithubBackups/healthchecks
Converting api_ping.id from integer to bigint.
This commit is contained in:
parent
09421153f5
commit
c126f7d0a2
20
hc/api/migrations/0037_auto_20180127_1215.py
Normal file
20
hc/api/migrations/0037_auto_20180127_1215.py
Normal file
@ -0,0 +1,20 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.11.6 on 2018-01-27 12:15
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('api', '0036_auto_20180116_2243'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='ping',
|
||||
name='id',
|
||||
field=models.BigAutoField(primary_key=True, serialize=False),
|
||||
),
|
||||
]
|
@ -207,6 +207,7 @@ class Check(models.Model):
|
||||
|
||||
|
||||
class Ping(models.Model):
|
||||
id = models.BigAutoField(primary_key=True)
|
||||
n = models.IntegerField(null=True)
|
||||
owner = models.ForeignKey(Check, models.CASCADE)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user