Skip to content

Commit

Permalink
add species migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
BryonLewis committed Jan 4, 2024
1 parent d7398ca commit 66b0826
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ jobs:
image: rabbitmq:latest
ports:
- 5672:5672
redis:
image: redis:latest
ports:
- 6379:6379
minio:
# This image does not require any command arguments (which GitHub Actions don't support)
image: bitnami/minio:latest
Expand Down
25 changes: 25 additions & 0 deletions bats_ai/core/migrations/0002_species.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Generated by Django 4.1.13 on 2024-01-04 15:27

from django.db import migrations, models


class Migration(migrations.Migration):

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

operations = [
migrations.CreateModel(
name='Species',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('species_code', models.CharField(blank=True, max_length=10, null=True)),
('family', models.CharField(blank=True, max_length=50, null=True)),
('genus', models.CharField(blank=True, max_length=50, null=True)),
('species', models.CharField(blank=True, max_length=100, null=True)),
('common_name', models.CharField(blank=True, max_length=100, null=True)),
('species_code_6', models.CharField(blank=True, max_length=10, null=True)),
],
),
]

0 comments on commit 66b0826

Please sign in to comment.