mirror of
				https://github.com/usmannasir/cyberpanel.git
				synced 2025-11-03 20:05:58 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			448 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			448 B
		
	
	
	
		
			Python
		
	
	
	
	
	
# -*- coding: utf-8 -*-
 | 
						|
from __future__ import unicode_literals
 | 
						|
 | 
						|
from django.db import models
 | 
						|
 | 
						|
# Create your models here.
 | 
						|
 | 
						|
 | 
						|
class PHP(models.Model):
 | 
						|
    phpVers = models.CharField(max_length=5,unique=True)
 | 
						|
 | 
						|
class installedPackages(models.Model):
 | 
						|
    phpVers = models.ForeignKey(PHP, on_delete=models.CASCADE)
 | 
						|
    extensionName = models.CharField(max_length=50)
 | 
						|
    description = models.CharField(max_length=255)
 | 
						|
    status = models.IntegerField()
 | 
						|
 |