mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
add License SQLAlchemy ORM model
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
38dc2bb99d
commit
943d97efac
2 changed files with 36 additions and 0 deletions
11
aurweb/models/license.py
Normal file
11
aurweb/models/license.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from sqlalchemy.orm import mapper
|
||||
|
||||
from aurweb.schema import Licenses
|
||||
|
||||
|
||||
class License:
|
||||
def __init__(self, Name: str = None):
|
||||
self.Name = Name
|
||||
|
||||
|
||||
mapper(License, Licenses)
|
Loading…
Add table
Add a link
Reference in a new issue