forked from ProfessionalWiki/Maps
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
https://www.mediawiki.org/wiki/Extension_talk:Maps#Creating_maps_layers_table_..._Database.php:_Could_not_open_file._41933 ProfessionalWiki#30
- Loading branch information
1 parent
01ecbe1
commit 3ef8f0d
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
BEGIN; | ||
|
||
CREATE TABLE maps_layers ( | ||
layer_page_id INTEGER NOT NULL REFERENCES page(page_id) ON DELETE CASCADE, | ||
layer_name VARCHAR(64) DEFAULT NULL, | ||
layer_type VARCHAR(32) NOT NULL, | ||
layer_data TEXT NOT NULL | ||
) /*$wgDBTableOptions*/; | ||
|
||
COMMIT; |