mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-03 14:54:01 +01:00
* If a column is dropped the constraint that uses that column must be dropped first. * Removed trailing comma * Fixed invalid SQL syntax * Fixed syntax mistakes in MSSQL initial database script
10 lines
291 B
Transact-SQL
10 lines
291 B
Transact-SQL
ALTER TABLE [dbo].[filestore] ADD [context] varchar(32) COLLATE Latin1_General_CI_AI NOT NULL
|
|
GO
|
|
|
|
UPDATE [dbo].[filestore] SET [context] = 'enigma'
|
|
GO
|
|
|
|
CREATE UNIQUE INDEX [IX_filestore_user_id_context_filename] ON [dbo].[filestore]([user_id],[context],[filename]) ON [PRIMARY]
|
|
GO
|
|
|