sigorilla / joinme

Server [DEPRECATED]
http://joinmipt.com/
MIT License
1 stars 0 forks source link

Table scheme #1

Closed sigorilla closed 9 years ago

sigorilla commented 9 years ago

Hi, @banditi/codebusters!

I think we should use two tables for the events. ID will be created by Django.

Table of events

Type Name Other info
FK users ManyToMany
FK author ManyToOne
FK category ManyToOne
title
datetime
description
count Limit of members
vk_link
fb_link

Table of categories

Type Name Other info
title
description
icon optional

Table of user profiles

And also one table for profile of our users. Main table of the users exists in Django

Type Name Other info
FK user OneToOne
activation_key
key_expires
social networks vk, fb, tw

Write your ideas below in the comments