finger / create_table.sql
multibiz's picture
no fingerprint image is displayed in the section
4e26128 verified
Raw History Blame Contribute Delete
360 Bytes
```sql
CREATE TABLE customers (
id INT AUTO_INCREMENT PRIMARY KEY,
customer_id VARCHAR(50) NOT NULL UNIQUE,
customer_name VARCHAR(100) NOT NULL,
customer_email VARCHAR(100),
fingerprint_data LONGBLOB NOT NULL,
registration_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
INDEX (customer_id)
);
```
2. Here's the database connection file: