Added CRUD endpoints for each application.
This commit is contained in:
1 parent
1121569d94
commit
a3036f74fc
11 files changed
+447
-161
No files matched your search
@@ -0,0 +1,20 @@
|
||||
from django.conf import settings
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("accounts", "0004_delete_account"),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunSQL(
|
||||
sql=(
|
||||
"CREATE UNIQUE INDEX IF NOT EXISTS auth_user_email_uniq "
|
||||
"ON auth_user (email);"
|
||||
),
|
||||
reverse_sql="DROP INDEX IF EXISTS auth_user_email_uniq;",
|
||||
),
|
||||
]
|
||||
Reference in new issue
Block a user