Commit graph

28 commits

Author SHA1 Message Date
Charlotte Van Petegem 01b5c72e7b
Generate slug in app 2022-05-30 19:48:23 +02:00
Midgard 4a353ec17e
Create a slug for old orders in the migration 2022-05-30 19:47:48 +02:00
Charlotte Van Petegem 8f3750060b
VARCHAR requires a length in mysql 2022-05-30 18:50:46 +02:00
Charlotte Van Petegem bb49fb2795
Add merge migration 2022-05-30 18:44:18 +02:00
Charlotte Van Petegem 28a6dc5422
Merge pull request #193 from ZeusWPI/feature/association-management
Integrate associations
2022-05-30 18:29:05 +02:00
Midgard 453cacebd9
Add migration to add slug DB field to order 2022-05-25 10:29:48 +02:00
Charlotte Van Petegem 4d9d43b0f0
Don't limit length (and fix migration) 2022-05-24 21:26:56 +02:00
Charlotte Van Petegem 1c0d78f2ee
Make sure only users with at least one association can create an order 2022-05-20 22:46:56 +02:00
Charlotte Van Petegem c43efa4b10
Migration 2022-05-20 21:34:18 +02:00
Midgard 09e2d704cd
Add price editor 2022-04-22 01:19:07 +02:00
Jan-Pieter Baert 5e29f2a5f7
Fix formatting 2022-04-19 22:04:49 +02:00
Midgard 38e10257d2
Drop product ID migration
Actually really really a lot of work and almost no benefit.
2020-02-25 16:29:43 +01:00
Midgard 85f36a8fe4
Remove crippling downgrade code 2020-01-27 22:03:15 +01:00
Midgard b1d0c3e004
Finish working migration! 2020-01-26 23:40:43 +01:00
Midgard 40170046c5
Make order_item.price nullable
There are some order items in the DB where product = NULL so price
cannot be defined for them.
2020-01-26 21:03:14 +01:00
Midgard 7e476c39dc
Drop migration of "paid" to non-nullable
The DB contains NULLs here, and I'll just leave them be.
2020-01-26 19:48:31 +01:00
Midgard 4b99eff7c8
Put migration table in migration to avoid import troubles 2020-01-26 19:39:21 +01:00
Midgard 2313f0bcb5
Write migration -- don't run, not tested 2020-01-26 18:53:14 +01:00
Midgard ecaff42ba4
Generate migration -- do not run in production
This is the migration that was automatically generated. If you run this
version, historical data WILL be corrupted beyond repair.
2020-01-26 16:32:37 +01:00
Jan-Pieter Baert c64e4bd998
Run black and isort on all code 2019-09-08 02:04:34 +02:00
mcbloch d591f846d8
add and run black formatter 2019-09-05 03:33:29 +02:00
mcbloch d254889f6d
remove old migrations, run via manager 2019-09-03 13:56:13 +02:00
mcbloch 18c2008959 squash database migrations, update model to be equal to the server 2019-04-02 18:03:14 +02:00
Feliciaan De Palmenaer 4de65752ec Extras 2015-06-24 22:10:26 +02:00
Feliciaan De Palmenaer d6c29b9703 Fixed bug for volunteering closes #44 2015-06-04 22:37:00 +02:00
Feliciaan De Palmenaer 69eb22c506 Add paid indicator, fixes #19 2015-06-04 21:20:38 +02:00
Feliciaan De Palmenaer 24d1b7c094 Added phone number 2015-06-04 18:45:59 +02:00
Feliciaan De Palmenaer 2d6640b8b9 Added alembic and flask-migrate to haldis 2015-06-04 17:29:37 +02:00