Rollback removal of script files for Html Module to resolve conflict
This commit is contained in:
parent
23bab67bd3
commit
e11a65c6ca
19
Oqtane.Server/Modules/HtmlText/Scripts/HtmlText.1.0.0.sql
Normal file
19
Oqtane.Server/Modules/HtmlText/Scripts/HtmlText.1.0.0.sql
Normal file
|
@ -0,0 +1,19 @@
|
|||
CREATE TABLE [dbo].[HtmlText](
|
||||
[HtmlTextId] [int] IDENTITY(1,1) NOT NULL,
|
||||
[ModuleId] [int] NOT NULL,
|
||||
[Content] [nvarchar](max) NOT NULL,
|
||||
[CreatedBy] [nvarchar](256) NOT NULL,
|
||||
[CreatedOn] [datetime] NOT NULL,
|
||||
[ModifiedBy] [nvarchar](256) NOT NULL,
|
||||
[ModifiedOn] [datetime] NOT NULL,
|
||||
CONSTRAINT [PK_HtmlText] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[HtmlTextId] ASC
|
||||
)
|
||||
)
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[HtmlText] WITH CHECK ADD CONSTRAINT [FK_HtmlText_Module] FOREIGN KEY([ModuleId])
|
||||
REFERENCES [dbo].[Module] ([ModuleId])
|
||||
ON DELETE CASCADE
|
||||
GO
|
|
@ -0,0 +1,2 @@
|
|||
DROP TABLE [dbo].[HtmlText]
|
||||
GO
|
|
@ -41,8 +41,8 @@
|
|||
<EmbeddedResource Include="Scripts\Tenant.02.00.01.03.sql" />
|
||||
<EmbeddedResource Include="Scripts\Tenant.02.00.02.01.sql" />
|
||||
<EmbeddedResource Include="Scripts\Tenant.02.00.02.02.sql" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Modules\HtmlText\Scripts\HtmlText.1.0.0.sql" />
|
||||
<EmbeddedResource Include="Modules\HtmlText\Scripts\HtmlText.Uninstall.sql" />
|
||||
<EmbeddedResource Include="Scripts\MigrateMaster.sql" />
|
||||
<EmbeddedResource Include="Scripts\MigrateTenant.sql" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue
Block a user