代码改变世界

迁移MemberShip数据库时用来初始化数据的脚本

2012-09-17 21:11  于为源  阅读(318)  评论(0编辑  收藏  举报

INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('common','1',1)
INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('health monitoring','1', 1);
INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('membership', '1', 1)

INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('personalization','1', 1)

INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('profile','1', 1)

INSERT INTO [dbo].[aspnet_SchemaVersions]
([Feature]
,[CompatibleSchemaVersion]
,[IsCurrentVersion])
VALUES
('role manager','1', 1)