31 lines
1.2 KiB
Python
31 lines
1.2 KiB
Python
# Generated by Django 5.2.7 on 2026-02-24 00:57
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='Member',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('full_name', models.CharField(max_length=255)),
|
|
('email', models.EmailField(max_length=254, unique=True)),
|
|
('phone', models.CharField(blank=True, max_length=20, null=True)),
|
|
('role', models.CharField(choices=[('STAFF', 'Staff'), ('BOARD', 'Board Member'), ('YOUTH_VOLUNTEER', 'Youth Volunteer')], default='STAFF', max_length=20)),
|
|
('status', models.CharField(choices=[('ACTIVE', 'Active'), ('INACTIVE', 'Inactive')], default='ACTIVE', max_length=10)),
|
|
('join_date', models.DateField(auto_now_add=True)),
|
|
('notes', models.TextField(blank=True, null=True)),
|
|
],
|
|
options={
|
|
'ordering': ['-join_date'],
|
|
},
|
|
),
|
|
]
|