mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Fixed column default value and model type for cicm_db.updated
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/******************************************************************************
|
||||
/******************************************************************************
|
||||
// Canary Islands Computer Museum Website
|
||||
// ----------------------------------------------------------------------------
|
||||
//
|
||||
@@ -114,8 +114,8 @@ namespace Cicm.Database.Migrations
|
||||
.Annotation("MySql:ValueGenerationStrategy",
|
||||
MySqlValueGenerationStrategy.IdentityColumn),
|
||||
version = table.Column<int>("int(11)", nullable: false),
|
||||
updated = table.Column<DateTime>("datetime", nullable: true,
|
||||
defaultValueSql: "'CURRENT_TIMESTAMP'")
|
||||
updated = table.Column<DateTimeOffset?>("timestamp", nullable: true,
|
||||
defaultValueSql: "CURRENT_TIMESTAMP")
|
||||
}, constraints: table => { table.PrimaryKey("PK_cicm_db", x => x.id); });
|
||||
|
||||
migrationBuilder.CreateTable("forbidden",
|
||||
|
||||
Reference in New Issue
Block a user