diff options
author | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
---|---|---|
committer | Yaco <franco@reevo.org> | 2020-06-04 11:01:00 -0300 |
commit | fc7369835258467bf97eb64f184b93691f9a9fd5 (patch) | |
tree | daabd60089d2dd76d9f5fb416b005fbe159c799d /www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql |
first commit
Diffstat (limited to 'www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql')
-rw-r--r-- | www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql b/www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql new file mode 100644 index 00000000..e2818b55 --- /dev/null +++ b/www/wiki/tests/phpunit/tests/MediaWikiTestCaseSchemaTest.sql @@ -0,0 +1,18 @@ +CREATE TABLE /*_*/MediaWikiTestCaseTestTable ( + id INT NOT NULL, + name VARCHAR(20) NOT NULL, + PRIMARY KEY (id) +) /*$wgDBTableOptions*/; + +CREATE TABLE /*_*/imagelinks ( + il_from int NOT NULL DEFAULT 0, + il_from_namespace int NOT NULL DEFAULT 0, + il_to varchar(127) NOT NULL DEFAULT '', + il_frobnitz varchar(127) NOT NULL DEFAULT 'FROB', + PRIMARY KEY (il_from,il_to) +) /*$wgDBTableOptions*/; + +ALTER TABLE /*_*/pagelinks +ADD pl_frobnitz varchar(127) NOT NULL DEFAULT 'FROB'; + +DROP TABLE /*_*/oldimage; |