PHP Classes

File: app/Database/import.sql

Recommend this page to a friend!
  Classes of Rodrigo Faustino   Back FaceX   app/Database/import.sql   Download  
File: app/Database/import.sql
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Back FaceX
Recognize students using their face pictures
Author: By
Last change: Update of app/Database/import.sql
Date: 5 months ago
Size: 699 bytes
 

Contents

Class file image Download
CREATE DATABASE `pontozero`; USE `pontozero`; CREATE TABLE `users` ( `id` int NOT NULL AUTO_INCREMENT, `nome` varchar(145) DEFAULT NULL, `registro` varchar(45) DEFAULT NULL, `email` varchar(245) DEFAULT NULL, `senha` text, PRIMARY KEY (`id`) ); CREATE TABLE `presencas` ( `id` int NOT NULL AUTO_INCREMENT, `id_usuario` int NOT NULL, `data_hora` datetime NOT NULL, `tipo` char(1) NOT NULL, PRIMARY KEY (`id`), KEY `id_usuario` (`id_usuario`), CONSTRAINT `presencas_ibfk_1` FOREIGN KEY (`id_usuario`) REFERENCES `users` (`id`) ); CREATE TABLE `faces` ( `id` int NOT NULL AUTO_INCREMENT, `idusers` varchar(45) DEFAULT NULL, `faces` mediumtext, PRIMARY KEY (`id`) );