mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
8 lines
242 B
Python
8 lines
242 B
Python
|
from flask_sqlalchemy import SQLAlchemy
|
||
|
|
||
|
db = SQLAlchemy()
|
||
|
domain_apikey = db.Table(
|
||
|
'domain_apikey',
|
||
|
db.Column('domain_id', db.Integer, db.ForeignKey('domain.id')),
|
||
|
db.Column('apikey_id', db.Integer, db.ForeignKey('apikey.id')))
|