Oscar Krause
|
18807401e4
|
orm improvements & fixes
|
2023-06-12 15:14:12 +02:00 |
|
Oscar Krause
|
20448bc587
|
improved relationships
|
2023-06-12 15:13:29 +02:00 |
|
Oscar Krause
|
b4150fa527
|
implemented Site and Instance orm models including initialization
|
2023-06-12 12:42:13 +02:00 |
|
Oscar Krause
|
38e1a1725c
|
code styling
|
2023-06-12 12:40:10 +02:00 |
|
Oscar Krause
|
59152f95e6
|
fixed - The `declarative_base() ` function is now available as sqlalchemy.orm.declarative_base()
|
2023-01-30 10:23:09 +01:00 |
|
Oscar Krause
|
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 |
|
Oscar Krause
|
f7ef8d76b6
|
fixed Origin.delete()
|
2023-01-23 07:12:02 +01:00 |
|
Oscar Krause
|
91be7b226c
|
added some comments for default values
|
2023-01-19 07:25:44 +01:00 |
|
Oscar Krause
|
0ab5969d3a
|
fixes
|
2023-01-18 06:56:16 +01:00 |
|
Oscar Krause
|
b2e6fab294
|
fixes
|
2023-01-17 16:49:15 +01:00 |
|
Oscar Krause
|
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 |
|
Oscar Krause
|
7b2428ea38
|
removed some debugging
|
2023-01-03 18:05:46 +01:00 |
|
Oscar Krause
|
18e9ab2ebf
|
fixes
|
2023-01-03 14:52:31 +01:00 |
|
Oscar Krause
|
ef1730f4fe
|
orm.py - added some docs
|
2023-01-03 14:20:13 +01:00 |
|
Oscar Krause
|
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 |
|
Oscar Krause
|
0e3e7cbd3a
|
main.py - corrected leasing behaviour (migrated from 'LEASE_REF' to 'ALLOTMENT_REF')
|
2023-01-03 13:05:05 +01:00 |
|
Oscar Krause
|
17978c2e2e
|
main.py - added endpoint to release single lease
|
2022-12-29 19:03:09 +01:00 |
|
Oscar Krause
|
569ca8b3ea
|
orm.py - fixed renewing timestamps from params
|
2022-12-29 19:00:14 +01:00 |
|
Oscar Krause
|
13ec45e762
|
orm.py - added init call after dropping table by migration
|
2022-12-29 12:34:25 +01:00 |
|
Oscar Krause
|
2b7fed3381
|
created endpoints to delete origins and to delete a lease
|
2022-12-29 09:57:37 +01:00 |
|
Oscar Krause
|
922dc9f5a7
|
refactored database structure and created migration script
|
2022-12-29 09:40:50 +01:00 |
|
Oscar Krause
|
6b2e6bf392
|
added optional query parameter to '/-/origins' and '/-/leases' for linked leases/origin
|
2022-12-29 09:00:52 +01:00 |
|
Oscar Krause
|
6978ba4873
|
orm.py - timestamps are not updated in database
|
2022-12-29 07:09:39 +01:00 |
|
Oscar Krause
|
dada9cc4cd
|
fixes
|
2022-12-28 11:05:41 +01:00 |
|
Oscar Krause
|
c38ed25a2f
|
fixes
|
2022-12-27 20:28:09 +01:00 |
|
Oscar Krause
|
1b34edfda6
|
fixes
|
2022-12-27 20:22:00 +01:00 |
|
Oscar Krause
|
560b18b5c4
|
orm.py - fixed not null column
|
2022-12-27 19:57:58 +01:00 |
|
Oscar Krause
|
f539db5933
|
implemented db_init
|
2022-12-23 13:17:19 +01:00 |
|
Oscar Krause
|
43d5736f37
|
code styling & removed comments
|
2022-12-23 08:22:21 +01:00 |
|
Oscar Krause
|
e7102c4de6
|
fixed updates
|
2022-12-23 08:16:58 +01:00 |
|
Oscar Krause
|
d1db441df4
|
removed Auth
|
2022-12-23 08:16:34 +01:00 |
|
Oscar Krause
|
394180652e
|
migrated from dataset to sqlalchemy
|
2022-12-22 12:57:06 +01:00 |
|