Commit 82bb4818 authored by Andreas Burbach's avatar Andreas Burbach
Browse files

database

parent 2dbc72ca
Pipeline #75554 passed with stages
in 3 minutes and 40 seconds
...@@ -350,40 +350,40 @@ Responsebody: ...@@ -350,40 +350,40 @@ Responsebody:
The project requieres the base authentication database structure from django and extends it with the following tables: The project requieres the base authentication database structure from django and extends it with the following tables:
1. "the_social_network_account" #### the_social_network_account
with with
user_id: int as primary key and foreign key to django auth_user user_id: int as primary key and foreign key to django auth_user
image: varchar(100) image: varchar(100)
biography: varchar(1000) biography: varchar(1000)
2. "the_social_network_statement" #### the_social_network_statement
with with
id: int as primary key id: int as primary key
author_id: int as foreign key to the_social_network_account author_id: int as foreign key to the_social_network_account
content: varchar(120) content: varchar(120)
created: datetime created: datetime
3. "the_social_network_accounttagging" #### the_social_network_accounttagging
with with
id: int as primary key id: int as primary key
created: datetime created: datetime
account_id: int as foreign key to the_social_network_account account_id: int as foreign key to the_social_network_account
statement_id: int as foreign key to the_social_network_statement statement_id: int as foreign key to the_social_network_statement
4. "the_social_network_hashtag" #### the_social_network_hashtag
with with
id: int as primary key id: int as primary key
tag: varchar(30) tag: varchar(30)
created: datetime created: datetime
5. "the_social_network_hashtagtagging" #### the_social_network_hashtagtagging
with with
id: int as primary key id: int as primary key
created: datetime created: datetime
hashtag_id: int as foreign key to the_social_network_hashtag hashtag_id: int as foreign key to the_social_network_hashtag
statement_id: int as foreign key to the_social_network_statement statement_id: int as foreign key to the_social_network_statement
6. "the_social_network_reaction" #### the_social_network_reaction
with with
id: int as primary key id: int as primary key
created: datetime created: datetime
...@@ -391,7 +391,7 @@ The project requieres the base authentication database structure from django and ...@@ -391,7 +391,7 @@ The project requieres the base authentication database structure from django and
child_id: int as foreign key to the_social_network_statement child_id: int as foreign key to the_social_network_statement
parent_id: int as foreign key to the_social_network_statement parent_id: int as foreign key to the_social_network_statement
7. "the_social_network_relationship" #### the_social_network_relationship
with with
id: int as primary key id: int as primary key
created: datetime created: datetime
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment