Skip to content

Commit

Permalink
Feat: Add created_at, workspaces_user (#234)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashutosh619-sudo authored Jan 13, 2025
1 parent 8b908a3 commit 697e4fe
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions apps/workspaces/migrations/0007_add_created_at_to_user_sql.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Generated by Django 4.1.2 on 2024-12-23 11:22

from django.db import migrations


class Migration(migrations.Migration):

dependencies = [
('workspaces', '0006_importsetting_import_code_fields'),
]

operations = [
migrations.RunSQL(
sql="""
ALTER TABLE workspaces_user
ADD COLUMN created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW();
""",
reverse_sql="""
ALTER TABLE workspaces_user
DROP COLUMN created_at;
""",
),
]

0 comments on commit 697e4fe

Please sign in to comment.