summary refs log tree commit diff
path: root/extra/admin-api/Spacebar.Db/Models/Migration.cs
blob: 7bf1194f91830a18657c38507d3dd8157e74909c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace Spacebar.Db.Models;

[Table("migrations")]
public partial class Migration
{
    [Key]
    [Column("id")]
    public int Id { get; set; }

    [Column("timestamp")]
    public long Timestamp { get; set; }

    [Column("name", TypeName = "character varying")]
    public string Name { get; set; } = null!;
}