schema change

About this tag
The schema change tag covers discussions about modifying database table structures, particularly when altering column data types in Entity Framework and SQL Server. A common issue involves changing an integer column to a double, which can fail due to default constraints (e.g., 'DF__*') that depend on the column. Users share error messages like 'Column '*' is dependant on the object 'DF__*'' and seek solutions for safely performing ALTER TABLE operations. Topics include handling dependencies, dropping and recreating constraints, and using migration tools in EF. The tag is relevant for developers working with database schema migrations in Windows environments.
  1. M

    Windows 11 Column '*' is dependant on the object 'DF__*' - Changing int to double

    In essence, I obtained a table in my EF database with the following properties: public int Id { get; set; } public string Title { get; set; } public string Description { get; set; } public string Image { get; set; } public string WatchUrl { get; set; } public int Year { get; set; } public string...
Back
Top