right-tree/backend/right_tree/api/migrations/0001_initial.py
Dana Lambert bb307d34d2 Add django rest framework and basic plant model
- Adds django rest framework to requirements
- Adds basic plant model with id and name fields
- Adds CRUD endpoints to interact with plant objects
2021-10-07 08:59:57 +13:00

21 lines
474 B
Python

# Generated by Django 3.2.8 on 2021-10-06 18:32
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Plant',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.TextField()),
],
),
]