Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
- SET AUTOCOMMIT = 0;
- START TRANSACTION;
- SET time_zone = "+00:00";
- --
- -- Table structure for table `sc_user_scores`
- --
- CREATE TABLE `sc_user_scores` (
- `row_id` INT(11) NOT NULL,
- `user_id` INT(11) NOT NULL,
- `user_score` INT(11) NOT NULL
- ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
- --
- -- Indexes for table `sc_user_scores`
- --
- ALTER TABLE `sc_user_scores`
- ADD PRIMARY KEY (`row_id`),
- ADD UNIQUE KEY `user_id` (`user_id`);
- --
- -- AUTO_INCREMENT for table `sc_user_scores`
- --
- ALTER TABLE `sc_user_scores`
- MODIFY `row_id` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
- COMMIT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement