Initial plant reference and basic login
This commit is contained in:
parent
a2dba58fe4
commit
cada3c7357
31 changed files with 637 additions and 0 deletions
32
planterteque/migrations/0001_initial.py
Normal file
32
planterteque/migrations/0001_initial.py
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# Generated by Django 5.2.6 on 2025-12-03 09:33
|
||||
|
||||
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.CharField(max_length=512, unique=True)),
|
||||
('create_date', models.DateTimeField(auto_now_add=True)),
|
||||
('modified_date', models.DateTimeField(auto_now=True)),
|
||||
('botanical_name', models.CharField(max_length=2048)),
|
||||
('description_short', models.TextField(blank=2048)),
|
||||
('description_long', models.TextField(blank=True)),
|
||||
('growing_notes', models.TextField(blank=True)),
|
||||
('spread', models.IntegerField(default=0)),
|
||||
('height', models.IntegerField(default=0)),
|
||||
('sow_depth', models.IntegerField(default=0)),
|
||||
('spacing', models.IntegerField(default=0)),
|
||||
('other_notes', models.TextField(blank=True)),
|
||||
],
|
||||
),
|
||||
]
|
||||
0
planterteque/migrations/__init__.py
Normal file
0
planterteque/migrations/__init__.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue