Skip to content

Commit

Permalink
Merge pull request #119 from SnowEx/campaign_table
Browse files Browse the repository at this point in the history
added campaign information table class
  • Loading branch information
jtmaze authored Aug 23, 2024
2 parents 6ac6830 + 677d028 commit f9bd27e
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 f9bd27e

Please sign in to comment.