Commit Graph

30 Commits

Author SHA1 Message Date
3921fc44f7 fixes 2023-02-28 12:48:11 +01:00
b9dad7f87c implemented deserializer 2023-02-27 10:40:44 +01:00
59152f95e6 fixed - The `declarative_base()` function is now available as sqlalchemy.orm.declarative_base() 2023-01-30 10:23:09 +01:00
62d347510d fixed - sqlalchemy.exc.ArgumentError: Textual SQL expression '\nCREATE TABLE origin (\n\to...' should be explicitly declared as text('\nCREATE TABLE origin (\n\to...') 2023-01-30 10:22:18 +01:00
f7ef8d76b6 fixed Origin.delete() 2023-01-23 07:12:02 +01:00
91be7b226c added some comments for default values 2023-01-19 07:25:44 +01:00
0ab5969d3a fixes 2023-01-18 06:56:16 +01:00
b2e6fab294 fixes 2023-01-17 16:49:15 +01:00
3c19fc9d5b implemented "lease_renewal" attribute as calculated value within what period of time the license must be renewed 2023-01-17 11:49:56 +01:00
7b2428ea38 removed some debugging 2023-01-03 18:05:46 +01:00
18e9ab2ebf fixes 2023-01-03 14:52:31 +01:00
ef1730f4fe orm.py - added some docs 2023-01-03 14:20:13 +01:00
5a5ad0e654 removed 'scope_ref' from code checks because we only support one 'ALLOTMENT_REF', so we need no checks 2023-01-03 14:09:19 +01:00
0e3e7cbd3a main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF') 2023-01-03 13:05:05 +01:00
17978c2e2e main.py - added endpoint to release single lease 2022-12-29 19:03:09 +01:00
569ca8b3ea orm.py - fixed renewing timestamps from params 2022-12-29 19:00:14 +01:00
13ec45e762 orm.py - added init call after dropping table by migration 2022-12-29 12:34:25 +01:00
2b7fed3381 created endpoints to delete origins and to delete a lease 2022-12-29 09:57:37 +01:00
922dc9f5a7 refactored database structure and created migration script 2022-12-29 09:40:50 +01:00
6b2e6bf392 added optional query parameter to '/-/origins' and '/-/leases' for linked leases/origin 2022-12-29 09:00:52 +01:00
6978ba4873 orm.py - timestamps are not updated in database 2022-12-29 07:09:39 +01:00
dada9cc4cd fixes 2022-12-28 11:05:41 +01:00
c38ed25a2f fixes 2022-12-27 20:28:09 +01:00
1b34edfda6 fixes 2022-12-27 20:22:00 +01:00
560b18b5c4 orm.py - fixed not null column 2022-12-27 19:57:58 +01:00
f539db5933 implemented db_init 2022-12-23 13:17:19 +01:00
43d5736f37 code styling & removed comments 2022-12-23 08:22:21 +01:00
e7102c4de6 fixed updates 2022-12-23 08:16:58 +01:00
d1db441df4 removed Auth 2022-12-23 08:16:34 +01:00
394180652e migrated from dataset to sqlalchemy 2022-12-22 12:57:06 +01:00