mirror of https://github.com/abpframework/eventhub
7 changed files with 3519 additions and 100 deletions
File diff suppressed because it is too large
@ -0,0 +1,773 @@ |
|||||
|
using System; |
||||
|
using Microsoft.EntityFrameworkCore.Migrations; |
||||
|
|
||||
|
#nullable disable |
||||
|
|
||||
|
namespace EventHub.Migrations |
||||
|
{ |
||||
|
public partial class Added_IsActive_To_IdentityUser : Migration |
||||
|
{ |
||||
|
protected override void Up(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ConsumedTime", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerDeviceFlowCodes", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerDeviceFlowCodes", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerClientSecrets", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerApiResourceSecrets", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhOrganizationMemberships", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "StartTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "EndTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhEventRegistrations", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AddColumn<bool>( |
||||
|
name: "IsActive", |
||||
|
table: "AbpUsers", |
||||
|
type: "boolean", |
||||
|
nullable: false, |
||||
|
defaultValue: false); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpUserOrganizationUnits", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpSecurityLogs", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpOrganizationUnitRoles", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ChangeTime", |
||||
|
table: "AbpEntityChanges", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "NextTryTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastTryTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ExecutionTime", |
||||
|
table: "AbpAuditLogs", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ExecutionTime", |
||||
|
table: "AbpAuditLogActions", |
||||
|
type: "timestamp with time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp without time zone"); |
||||
|
} |
||||
|
|
||||
|
protected override void Down(MigrationBuilder migrationBuilder) |
||||
|
{ |
||||
|
migrationBuilder.DropColumn( |
||||
|
name: "IsActive", |
||||
|
table: "AbpUsers"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ConsumedTime", |
||||
|
table: "IdentityServerPersistedGrants", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerIdentityResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerDeviceFlowCodes", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerDeviceFlowCodes", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerClientSecrets", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerClients", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerApiScopes", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "Expiration", |
||||
|
table: "IdentityServerApiResourceSecrets", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "IdentityServerApiResources", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhOrganizations", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhOrganizationMemberships", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "StartTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "EndTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhEvents", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "EhEventRegistrations", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpUsers", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpUserOrganizationUnits", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpSecurityLogs", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastModificationTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "DeletionTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpOrganizationUnits", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpOrganizationUnitRoles", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ChangeTime", |
||||
|
table: "AbpEntityChanges", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "NextTryTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "LastTryTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: true, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone", |
||||
|
oldNullable: true); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "CreationTime", |
||||
|
table: "AbpBackgroundJobs", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ExecutionTime", |
||||
|
table: "AbpAuditLogs", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
|
||||
|
migrationBuilder.AlterColumn<DateTime>( |
||||
|
name: "ExecutionTime", |
||||
|
table: "AbpAuditLogActions", |
||||
|
type: "timestamp without time zone", |
||||
|
nullable: false, |
||||
|
oldClrType: typeof(DateTime), |
||||
|
oldType: "timestamp with time zone"); |
||||
|
} |
||||
|
} |
||||
|
} |
||||
Loading…
Reference in new issue