Commit 7286bad0 authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

WIP: changes to Database coscine/issues#1125

parent d5ccb413
......@@ -11,6 +11,6 @@ using System.Reflection;
[assembly: AssemblyProduct("Migrations.Tests")]
[assembly: AssemblyVersion("1.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0002")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0003")]
[assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")]
......@@ -15,10 +15,9 @@ namespace Coscine.Migrations.Migrations
{
Create.Table("ApiTokens")
.WithColumn("Id").AsGuid().PrimaryKey().WithDefault(SystemMethods.NewGuid)
.WithColumn("Token").AsString().NotNullable()
.WithColumn("Description").AsString().NotNullable()
.WithColumn("UserId").AsGuid().NotNullable()
.WithColumn("Creation").AsDateTime().NotNullable()
.WithColumn("IssuedAt").AsDateTime().NotNullable()
.WithColumn("Expiration").AsDateTime().NotNullable();
Create.ForeignKey()
......
......@@ -11,6 +11,6 @@ using System.Reflection;
[assembly: AssemblyProduct("Migrations")]
[assembly: AssemblyVersion("1.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0002")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0003")]
[assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")]
......@@ -11,6 +11,6 @@ using System.Reflection;
[assembly: AssemblyProduct("Migrator")]
[assembly: AssemblyVersion("1.8.0")]
[assembly: AssemblyFileVersion("1.8.0")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0002")]
[assembly: AssemblyInformationalVersion("1.8.0-topic-1125-apito0003")]
[assembly: AssemblyCopyright("2020 IT Center, RWTH Aachen University")]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment