forked from openedx/openedx-authz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path0001_initial.py
More file actions
32 lines (27 loc) · 1.07 KB
/
0001_initial.py
File metadata and controls
32 lines (27 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Generated by Django 4.2.23 on 2025-09-04 00:25
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = []
operations = [
migrations.CreateModel(
name="Library",
fields=[
(
"id",
models.CharField(
help_text="Library ID in format lib:ORG:SLUG", max_length=255, primary_key=True, serialize=False
),
),
("org", models.CharField(help_text="Organization name", max_length=255)),
("slug", models.CharField(help_text="Library slug/identifier", max_length=255)),
("title", models.CharField(help_text="Library title", max_length=255)),
("description", models.TextField(blank=True, help_text="Library description")),
],
options={
"verbose_name": "Library",
"verbose_name_plural": "Libraries",
"ordering": ["title"],
},
),
]