using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace UniVerse.Infrastructure.Migrations
{
///
public partial class ReviewPromptSettings : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "review_prompt_settings",
columns: table => new
{
id = table.Column(type: "integer", nullable: false),
prompt = table.Column(type: "text", nullable: false),
created_at = table.Column(type: "timestamp with time zone", nullable: false, defaultValueSql: "NOW()"),
updated_at = table.Column(type: "timestamp with time zone", nullable: false, defaultValueSql: "NOW()")
},
constraints: table =>
{
table.PrimaryKey("PK_review_prompt_settings", x => x.id);
});
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "review_prompt_settings");
}
}
}