mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 18:30:16 +00:00
15 lines
456 B
SQL
15 lines
456 B
SQL
DROP DATABASE IF EXISTS test;
|
|
CREATE DATABASE test;
|
|
USE test;
|
|
|
|
CREATE TABLE `test_a` (
|
|
`test_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
`column_a` varchar(80) DEFAULT NULL,
|
|
`column_b` varchar(20) DEFAULT NULL,
|
|
`active` tinyint(1) unsigned DEFAULT NULL,
|
|
`created` timestamp NULL DEFAULT NULL,
|
|
`modified` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
|
PRIMARY KEY (`test_id`)
|
|
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8;
|
|
|