-
Notifications
You must be signed in to change notification settings - Fork 1
/
sburb.sql
30 lines (24 loc) · 992 Bytes
/
sburb.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0;
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0;
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL';
CREATE SCHEMA IF NOT EXISTS `sburb` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci ;
USE `sburb` ;
-- -----------------------------------------------------
-- Table `sburb`.`bugreports`
-- -----------------------------------------------------
DROP TABLE IF EXISTS `sburb`.`bugreports` ;
CREATE TABLE IF NOT EXISTS `sburb`.`bugreports` (
`id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT ,
`ip` CHAR(45) NOT NULL ,
`browser` VARCHAR(255) NOT NULL ,
`os` VARCHAR(255) NOT NULL ,
`referrer` VARCHAR(255) NOT NULL ,
`canvas` MEDIUMTEXT NOT NULL ,
`debugger` MEDIUMTEXT NOT NULL ,
`save` MEDIUMTEXT NOT NULL ,
`report` TEXT NOT NULL ,
PRIMARY KEY (`id`) )
ENGINE = InnoDB;
SET SQL_MODE=@OLD_SQL_MODE;
SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS;
SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS;