Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PostgreSQL migration #12048

Open
samuelfangjw opened this issue Feb 2, 2023 · 0 comments · Fixed by #12917 or #13095
Open

PostgreSQL migration #12048

samuelfangjw opened this issue Feb 2, 2023 · 0 comments · Fixed by #12917 or #13095
Labels
c.Epic Feature/task that is worth many smaller sub-features/sub-tasks committers only Difficult; better left for committers or more senior developers

Comments

@samuelfangjw
Copy link
Member

The epic keeps track of issues related to PostgreSQL migration.

We will be working on the v9-migration branch.

@samuelfangjw samuelfangjw added committers only Difficult; better left for committers or more senior developers c.Epic Feature/task that is worth many smaller sub-features/sub-tasks labels Feb 2, 2023
hhdqirui pushed a commit to hhdqirui/teammates that referenced this issue Feb 11, 2023
hhdqirui pushed a commit to hhdqirui/teammates that referenced this issue Feb 11, 2023
hhdqirui pushed a commit to hhdqirui/teammates that referenced this issue Feb 11, 2023
hhdqirui pushed a commit to hhdqirui/teammates that referenced this issue Feb 11, 2023
NicolasCwy pushed a commit that referenced this issue Apr 22, 2024
* Add seed and verification scripts for feedback chain

* Fix logging for comments

* Fix deadline extension query
FergusMok added a commit that referenced this issue Apr 24, 2024
NicolasCwy added a commit that referenced this issue Apr 24, 2024
…ication (#13086)

* Add migration and verification script for feedback session

* Optimize data migration

* Add counts verification script

* Abstract seed account method

* Combine non-course and course seed methods

* Fix migration script

* Add additional logs

Co-authored-by: Marques Tye Jia Jun <97437396+marquestye@users.noreply.github.com>

* Comment out usage statistics, account requests, notifications, add null to student google id
---------

Co-authored-by: YX Z <yxz@YXs-MacBook-Air-2.local>
Co-authored-by: Fergus Mok <FergusMok1@gmail.com>
Co-authored-by: Marques Tye Jia Jun <97437396+marquestye@users.noreply.github.com>
NicolasCwy added a commit that referenced this issue Apr 24, 2024
…end createdAt field (#13077)

* Change account request and notification verification

* Add script to patch notification created time

* Add script to patch account request created time
FergusMok added a commit that referenced this issue Apr 24, 2024
* Add Marques' IndexCourseFields

* Set max response count at 10000

* Add scripts

* Add spacing
mingyuanc added a commit that referenced this issue Apr 24, 2024
…dent-email-seed

[#12048] data migration fix student email seed
NicolasCwy pushed a commit that referenced this issue Apr 24, 2024
* Add null check

* Delete index
NicolasCwy added a commit that referenced this issue Apr 24, 2024
* Add remove dangling course script
weiquu added a commit that referenced this issue Apr 28, 2024
* Add e2e test

* Migrate all tests

* Update xml

---------

Co-authored-by: YX Z <yxz@YXs-MacBook-Air-2.local>
Co-authored-by: Wei Qing <48304907+weiquu@users.noreply.github.com>
FergusMok added a commit that referenced this issue May 2, 2024
* Skeleton till shouldAllowIfBeforeDeadline

* Save progress

* Save progress

* Fix all tests

* Fix linting

* Remove redundant

* Refactor to fit integration tests structure

* Add breaking changes

* Add flush

* Fix linting

* Fix clean-up from access control
NicolasCwy added a commit that referenced this issue May 3, 2024
* Optimise account request patch script

* Fix incorrect console prefix

* fix buffer not flushing
NicolasCwy added a commit that referenced this issue May 6, 2024
[#12048] Update v9 course migration feature branch
wkurniawan07 added a commit that referenced this issue May 12, 2024
* Add changes

* Add missing

---------

Co-authored-by: Nicolas <25302138+NicolasCwy@users.noreply.github.com>
Co-authored-by: Wilson Kurniawan <wkurniawan.92@gmail.com>
FergusMok pushed a commit that referenced this issue Jun 22, 2024
* TO REMOVE: Code for development

* FIXING COURSES

* TO REMOVE TEST SCRIPT

* Add logger class

* Remove unused course script

* Comment out chain verification

* Fix seed error if entity count is too low

* Comment out seed notif

* Comment out notification seed

* Remove account request seed

* Verify section migration

* Fix team migration

* Remove previously added column

* Fix student migration

* Add back updated timestamp

* Add more fixes for students

* Verified feedback session migration

* Remove previously added constraint

To be fixed in the main branch instead

* Verify feedback questions migration

* Verify Feedback response migration

* Fix broken seed for feedback questions and response

* Remove feedback response updatedAtTimestamp annotation

* Verify instructor migration

* Fix instructor seed - name

* Verify feedback response comment migration

* Fix Deadline extension

* Remove code used for development

* Remove verbose logging for deadline extension

---------

Co-authored-by: marquestye <e0360581@u.nus.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.Epic Feature/task that is worth many smaller sub-features/sub-tasks committers only Difficult; better left for committers or more senior developers
Projects
None yet
2 participants