Skip to content

Commit

Permalink
added campaign information table class
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmaze committed Aug 22, 2024
1 parent 8974297 commit 677d028
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions snowexsql/tables/campaign_data.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 22 11:56:34 2024
@author: jtmaz
"""

from sqlalchemy import Column, String, Integer

from .base import Base


class CampaignData(Base):
"""
Table stores Campaign data. Does not store data values,
it only stores the campaign metadata.
"""
__tablename__ = 'sites'
__table_args__ = {"schema": "public"}

id = Column(Integer, primary_key=True)
name = Column(String(100))
description = Column(String(1000))


0 comments on commit 677d028

Please sign in to comment.