Logo
Explore Help
Register Sign In
admin/server
1
0
Fork 0
You've already forked server
mirror of https://github.com/bitwarden/server.git synced 2026-02-01 22:53:12 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
update-server-program
server/util/Migrator/DbScripts/2024-09-25_01_SyncLimitCollectionCreationColumn.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
167 B
MySQL
Raw Permalink Normal View History

Split `LimitCollectionCreationDeletion` into two database columns (#4709) * Add new columns to `dbo.Organization` & its references * Feed existing data into new `dbo.Organization` column * Update Entity Framework database definitions * Move new EF columns out of the core entity definition * Generate Entity Framework migrations * Feed existing data into new `Organization` Entity Framework columns * Add a where clause to SQL migration
2024-10-03 13:43:54 -04:00
-- Sync existing data
UPDATE [dbo].[Organization]
SET
[LimitCollectionCreation] = 1,
[LimitCollectionDeletion] = 1
WHERE [LimitCollectionCreationDeletion] = 1
GO
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 201ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API