Skip to content

Guilherme-FCM/Twitter-Clone-Crud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Querys SQL:

create database twitter_clone;
use twitter_clone;

create table usuarios(
  id int not null primary key auto_increment,
  nome varchar(100) not null,
  email varchar(150) not null,
  senha varchar(32) not null
);

create table tweets(
  id int not null primary key auto_increment,
  id_usuario int not null,
  tweet varchar(140) not null,
  data datetime default current_timestamp
);

create table usuarios_seguidores(
  id int not null primary key auto_increment,
  id_usuario int not null,
  id_usuario_seguindo int not null
);

Releases

No releases published

Packages

No packages published