Table: user
Colum Name | SQL Type | Description |
name | varchar(50), primary key | The user's name (pseudonym). |
pubkey | text | The user's public key. |
*/
// 1 2 3 4 5 6 7 8
// 45678901234567890123456789012345678901234567890123456789012345678901234567890
require_once("opendb.php");
try {
$db->query('create table if not exists user (name varchar(50) not null primary key, pubkey text not null) character set utf8 engine=innodb;');
} catch (Exception $e) {
error('database error on server');
}
?>