Enum SchemaSyncLevel
Controls how aggressively the table sync service reconciles the live database schema with entity definitions. Higher levels allow more destructive operations.
public enum SchemaSyncLevel
Fields
Additive = 2Safe + drops indexes and foreign keys that no longer exist in the model. No column data is lost.
Full = 3Additive + drops columns that no longer exist in the model, and allows full DROP TABLE rebuild when used together with backups. Intended for development only.
None = 0Skip sync entirely. No ALTER/CREATE statements are issued.
Safe = 1Default. Adds missing columns, indexes and foreign keys, and modifies existing columns to match the model (grow VARCHAR, toggle NULL, update default, etc.). Never drops anything.