class Meta(object):
        """PeeWee meta class contains the database and the primary key."""

        database = DB
        primary_key = CompositeKey('file', 'key', 'value')
示例#2
0
    class Meta:
        """PeeWee meta class contains the database and the primary key."""

        database = DB
        primary_key = CompositeKey('group', 'project')
示例#3
0
 class Meta:
     db_table = "t_task"
     primary_key = CompositeKey('f_job_id', 'f_task_id', 'f_task_version',
                                'f_role', 'f_party_id')
    class Meta:
        """PeeWee meta class contains the database and the primary key."""

        database = DB
        primary_key = CompositeKey('instrument', 'key', 'value',
                                   'relationship')
示例#5
0
    class Meta(object):
        """PeeWee meta class contains the database and the primary key."""

        database = DB
        primary_key = CompositeKey('citation', 'project')
示例#6
0
    class Meta:
        database = db
        primary_key = CompositeKey('article', 'topic')


# db.create_tables([Source, Article, Topic, SourceArticle, SourceTopic, ArticleTopic])
示例#7
0
 class Meta:
     db_table = "data_source"
     primary_key = CompositeKey('data_source_name')
示例#8
0
 class Meta:
     db_table = 'StarWueStatus'
     indexes = (
         (('fnight', 'fsequenceid'), True),
     )
     primary_key = CompositeKey('fnight', 'fsequenceid')
示例#9
0
 class Meta:
     db_table = 'AnalysisResultsRunCutsLC'
     indexes = (
         (('frunid', 'fnight'), True),
     )
     primary_key = CompositeKey('fnight', 'frunid')
示例#10
0
 class Meta:
     db_table = 'RunInfo'
     indexes = (
         (('fnight', 'frunid'), True),
     )
     primary_key = CompositeKey('fnight', 'frunid')
示例#11
0
 class Meta:
     db_table = 'SequenceFileAvailISDCStatus'
     indexes = (
         (('fnight', 'fsequenceid'), True),
     )
     primary_key = CompositeKey('fnight', 'fsequenceid')
示例#12
0
 class Meta:
     db_table = 'RawFileRsyncedISDCStatus'
     indexes = (
         (('fnight', 'frunid'), True),
     )
     primary_key = CompositeKey('fnight', 'frunid')
示例#13
0
 class Meta:
     db_table = 'AnalysisResultsNightLP'
     indexes = (
         (('fsourcekey', 'fnight'), True),
     )
     primary_key = CompositeKey('fnight', 'fsourcekey')
示例#14
0
 class Meta:
     db_table = 'CalibrationInfo'
     indexes = (
         (('fnight', 'fsequenceid'), True),
     )
     primary_key = CompositeKey('fnight', 'fsequenceid')
示例#15
0
 class Meta:
     database = db
     primary_key = CompositeKey('source', 'article')
示例#16
0
 class Meta:
     table_name = "device_keys"
     indexes = ((("device", "user_id", "user_device_id"), True), )
     primary_key = CompositeKey("device", "user_device_id", "user_id")
示例#17
0
 class Meta:
     database = db
     primary_key = CompositeKey('source', 'topic')
示例#18
0
文件: platedb.py 项目: sdss/sdssdb
 class Meta:
     db_table = 'plugging_to_boss_sn2_threshold'
     indexes = ((('plugging_pk', 'boss_sn2_threshold_version'), True), )
     schema = 'platedb'
     primary_key = CompositeKey('boss_sn2_threshold_version', 'plugging_pk')
示例#19
0
 class Meta:
     db_table = "data_block_meta"
     primary_key = CompositeKey('block_id')
示例#20
0
 class Meta:
     db_table = "localities"
     indexes = [(("entidad", "municipio"), True)]
     primary_key = CompositeKey("entidad", "municipio")
示例#21
0
 class Meta:
     db_table = "register_coordinator"
     primary_key = CompositeKey('local_uuid')
示例#22
0
 class Meta:
     db_table = "daily"
     primary_key = CompositeKey("fecha", )
示例#23
0
 class Meta:
     primary_key = CompositeKey('mentor_id', 'mentee_id')
示例#24
0
 class Meta:
     primary_key = CompositeKey('team', 'challenge')
示例#25
0
 class Meta:
     table_name = 'bounty_stats'
     primary_key = CompositeKey('tx_hash')
示例#26
0
文件: models.py 项目: hokey60/hokey60
 class Meta:
     primary_key = CompositeKey('latitude', 'longitude')
示例#27
0
 class Meta:
     db_table = "t_job"
     primary_key = CompositeKey('f_job_id', 'f_role', 'f_party_id')
示例#28
0
文件: app.py 项目: ntpz/bcwp-trial
 class Meta:
     primary_key = CompositeKey('sample', 'user')
示例#29
0
 class Meta:
     db_table = '%s_%s' % ('t_tracking_output_data_info',
                           table_index)
     primary_key = CompositeKey('f_job_id', 'f_task_id',
                                'f_task_version', 'f_data_name',
                                'f_role', 'f_party_id')
示例#30
0
 class Meta:
     db_table = 'guild_member_backups'
     primary_key = CompositeKey('user_id', 'guild_id')