Skip to content

Commit

Permalink
created migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfiejz committed Jun 22, 2023
1 parent fb18772 commit 226e4e7
Showing 1 changed file with 55 additions and 0 deletions.
55 changes: 55 additions & 0 deletions cap_feed/migrations/0001_initial.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Generated by Django 4.2.2 on 2023-06-22 17:32

from django.db import migrations, models


class Migration(migrations.Migration):

initial = True

dependencies = [
]

operations = [
migrations.CreateModel(
name='Alert',
fields=[
('id', models.CharField(max_length=255, primary_key=True, serialize=False)),
('identifier', models.CharField(max_length=255)),
('sender', models.CharField(max_length=255)),
('sent', models.DateTimeField()),
('status', models.CharField(max_length=255)),
('msg_type', models.CharField(max_length=255)),
('scope', models.CharField(max_length=255)),
('urgency', models.CharField(max_length=255)),
('severity', models.CharField(max_length=255)),
('certainty', models.CharField(max_length=255)),
('expires', models.DateTimeField()),
('area_desc', models.CharField(max_length=255)),
('event', models.CharField(max_length=255)),
('geocode_name', models.CharField(blank=True, default='', max_length=255)),
('geocode_value', models.CharField(blank=True, default='', max_length=255)),
('polygon', models.TextField(blank=True, default='', max_length=16383)),
],
),
migrations.CreateModel(
name='Country',
fields=[
('id', models.CharField(max_length=255, primary_key=True, serialize=False)),
('name', models.CharField(max_length=255)),
('iso', models.CharField(blank=True, default='', max_length=255)),
('iso3', models.CharField(blank=True, default='', max_length=255)),
('polygon', models.TextField(blank=True, default='', max_length=16383)),
('centroid', models.CharField(blank=True, default='', max_length=255)),
],
),
migrations.CreateModel(
name='Region',
fields=[
('id', models.CharField(max_length=255, primary_key=True, serialize=False)),
('name', models.CharField(max_length=255)),
('polygon', models.TextField(blank=True, default='', max_length=16383)),
('centroid', models.CharField(blank=True, default='', max_length=255)),
],
),
]

0 comments on commit 226e4e7

Please sign in to comment.