sintonia/api/libretime_api/core/models/service.py
Jonas L fce988aef1
feat(api): split api into multiple apps ()
Fixes 

- split the api into 4 apps: core, history, schedule, storage
- exploded the settings into testing/prod
2022-04-04 14:38:50 +02:00

10 lines
252 B
Python

from django.db import models
class ServiceRegister(models.Model):
name = models.CharField(primary_key=True, max_length=32)
ip = models.CharField(max_length=45)
class Meta:
managed = False
db_table = "cc_service_register"