sql insert

This commit is contained in:
Alomairi 2024-09-03 09:46:35 +00:00
parent 74e46bfc63
commit 19c915fdbf
1 changed files with 12 additions and 0 deletions

12
add-users.txt Normal file
View File

@ -0,0 +1,12 @@
CREATE TABLE `accounts` (
`id` int(11) NOT NULL,
`username` varchar(100) CHARACTER SET latin1 NOT NULL,
`email` varchar(100) CHARACTER SET latin1 NOT NULL,
`password` varchar(255) CHARACTER SET latin1 NOT NULL,
`avatar` blob NOT NULL,
`timestamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `accounts`( `username`, `email`, `password`, `avatar` ) VALUES ('admin','ahmed@admin','admin','xxxxx' )