📄 cs_default.sql
字号:
if not exists( select * from [dbo].[aspnet_SchemaVersions] where Feature = N'common' and CompatibleSchemaVersion = '1' )
INSERT INTO [dbo].[aspnet_SchemaVersions] ([Feature], [CompatibleSchemaVersion], [IsCurrentVersion]) VALUES (N'common', N'1', 1)
if not exists( select * from [dbo].[aspnet_SchemaVersions] where Feature = N'membership' and CompatibleSchemaVersion = '1' )
INSERT INTO [dbo].[aspnet_SchemaVersions] ([Feature], [CompatibleSchemaVersion], [IsCurrentVersion]) VALUES (N'membership', N'1', 1)
if not exists( select * from [dbo].[aspnet_SchemaVersions] where Feature = N'profile' and CompatibleSchemaVersion = '1' )
INSERT INTO [dbo].[aspnet_SchemaVersions] ([Feature], [CompatibleSchemaVersion], [IsCurrentVersion]) VALUES (N'profile', N'1', 1)
if not exists( select * from [dbo].[aspnet_SchemaVersions] where Feature = N'role manager' and CompatibleSchemaVersion = '1' )
INSERT INTO [dbo].[aspnet_SchemaVersions] ([Feature], [CompatibleSchemaVersion], [IsCurrentVersion]) VALUES (N'role manager', N'1', 1)
if not exists( select * from cs_SchemaVersion where Major = 1 and Minor = 0 and Patch = 0 )
insert into cs_SchemaVersion values(1,0,0, getdate())
if not exists( select * from cs_ApplicationType where ApplicationType = 0 )
insert into cs_ApplicationType values( 0, 'Forum')
if not exists( select * from cs_ApplicationType where ApplicationType = 1 )
insert into cs_ApplicationType values( 1, 'Weblog')
if not exists( select * from cs_ApplicationType where ApplicationType = 2 )
insert into cs_ApplicationType values( 2, 'Gallery')
if not exists( select * from cs_ApplicationType where ApplicationType = 3 )
insert into cs_ApplicationType values( 3, 'GuestBook')
if not exists( select * from cs_ApplicationType where ApplicationType = 9999 )
insert into cs_ApplicationType values( 9999, 'Unknown')
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -