- Added default table values to MSSQL database scheme. Patch by Moshe. Fixes bug #1571.
parent
31d8b14969
commit
fd37c0db4b
|
@ -442,6 +442,26 @@ ALTER TABLE [dbo].[watchdog] WITH NOCHECK ADD
|
|||
CONSTRAINT [DF__watchdog__timest__47A6A41B] DEFAULT ('0') FOR [timestamp]
|
||||
GO
|
||||
|
||||
--
|
||||
-- Insert some default values
|
||||
--
|
||||
|
||||
INSERT INTO system VALUES ('modules/admin.module','admin','module','',1);
|
||||
INSERT INTO system VALUES ('modules/block.module','block','module','',1);
|
||||
INSERT INTO system VALUES ('modules/comment.module','comment','module','',1);
|
||||
INSERT INTO system VALUES ('modules/help.module','help','module','',1);
|
||||
INSERT INTO system VALUES ('modules/node.module','node','module','',1);
|
||||
INSERT INTO system VALUES ('modules/page.module','page','module','',1);
|
||||
INSERT INTO system VALUES ('modules/story.module','story','module','',1);
|
||||
INSERT INTO system VALUES ('modules/taxonomy.module','taxonomy','module','',1);
|
||||
INSERT INTO system VALUES ('themes/marvin/marvin.theme','marvin','theme','Internet explorer, Netscape, Opera',1);
|
||||
|
||||
INSERT INTO variable(name,value) VALUES('update_start', '2002-05-15');
|
||||
INSERT INTO variable(name,value) VALUES('theme_default','s:6:"marvin";');
|
||||
|
||||
INSERT INTO blocks(module,delta,status) VALUES('user', '0', '1');
|
||||
INSERT INTO blocks(module,delta,status) VALUES('user', '1', '1');
|
||||
|
||||
---
|
||||
--- Functions. Functions first available in SQL Server 2000. GREATEST() used by forum.module, tracker.module at the moment.
|
||||
---
|
||||
|
|
Loading…
Reference in New Issue