WiiSOAP/database.sql
2019-01-23 22:55:19 +11:00

52 lines
1.6 KiB
SQL

/*
< Database Template File >
This file automatically adds the default database and tables.
WiiSOAP uses MySQL.
This SQL File does not guarantee functionality as WiiSOAP is still in early development statements.
It is suggested that you should hold off from using WiiSOAP unless you are confident that you know what you are doing.
Follow and practice proper security practices before handling user data.
*/
-- Generation Time: Jan 23, 2019 at 12:40 PM
-- Server version: 10.1.37-MariaDB
-- PHP Version: 7.3.0
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `wiisoap`
--
-- --------------------------------------------------------
--
-- Table structure for table `userbase`
--
CREATE TABLE `userbase` (
`DeviceId` int(10) UNSIGNED ZEROFILL NOT NULL,
`DeviceToken` varchar(21) NOT NULL,
`AccountId` int(9) UNSIGNED ZEROFILL NOT NULL,
`Region` varchar(2) DEFAULT NULL,
`Country` varchar(2) DEFAULT NULL,
`Language` varchar(2) DEFAULT NULL,
`SerialNo` varchar(11) DEFAULT NULL,
`DeviceCode` int(16) UNSIGNED ZEROFILL NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;