Skip to content

Commit

Permalink
migrations and sql
Browse files Browse the repository at this point in the history
  • Loading branch information
anishfyle committed Dec 20, 2024
1 parent 0db881a commit 0a44f5b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated by Django 3.2.14 on 2024-12-20 11:27

import apps.workspaces.models
from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('workspaces', '0047_alter_workspacegeneralsettings_change_accounting_period'),
]

operations = [
migrations.AlterField(
model_name='workspace',
name='onboarding_state',
field=models.CharField(choices=[('CONNECTION', 'CONNECTION'), ('EXPORT_SETTINGS', 'EXPORT_SETTINGS'), ('IMPORT_SETTINGS', 'IMPORT_SETTINGS'), ('ADVANCED_CONFIGURATION', 'ADVANCED_CONFIGURATION'), ('COMPLETE', 'COMPLETE')], default=apps.workspaces.models.get_default_onboarding_state, help_text='Onboarding status of the workspace', max_length=50, null=True),
),
]
3 changes: 2 additions & 1 deletion tests/sql_fixtures/reset_db_fixtures/reset_db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -34010,7 +34010,7 @@ SELECT pg_catalog.setval('public.django_content_type_id_seq', 47, true);
-- Name: django_migrations_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.django_migrations_id_seq', 197, true);
SELECT pg_catalog.setval('public.django_migrations_id_seq', 198, true);


--
Expand Down Expand Up @@ -35915,3 +35915,4 @@ ALTER TABLE ONLY public.workspaces_user
--
-- PostgreSQL database dump complete
--

0 comments on commit 0a44f5b

Please sign in to comment.