♻️ Centralized data models (wip)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text.Json;
|
||||
using DysonNetwork.Sphere.Poll;
|
||||
using DysonNetwork.Shared.Models;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using NodaTime;
|
||||
|
||||
@@ -68,7 +68,7 @@ namespace DysonNetwork.Sphere.Migrations
|
||||
{
|
||||
id = table.Column<Guid>(type: "uuid", nullable: false),
|
||||
type = table.Column<int>(type: "integer", nullable: false),
|
||||
options = table.Column<List<PollOption>>(type: "jsonb", nullable: true),
|
||||
options = table.Column<List<SnPollOption>>(type: "jsonb", nullable: true),
|
||||
title = table.Column<string>(type: "character varying(1024)", maxLength: 1024, nullable: false),
|
||||
description = table.Column<string>(type: "character varying(4096)", maxLength: 4096, nullable: true),
|
||||
order = table.Column<int>(type: "integer", nullable: false),
|
||||
|
Reference in New Issue
Block a user