2608 lines
92 KiB
C#
2608 lines
92 KiB
C#
|
// <auto-generated />
|
||
|
using System;
|
||
|
using ASC.Files.Core.EF;
|
||
|
using Microsoft.EntityFrameworkCore;
|
||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||
|
|
||
|
#nullable disable
|
||
|
|
||
|
namespace ASC.Migrations.PostgreSql.Migrations.FilesDb
|
||
|
{
|
||
|
[DbContext(typeof(FilesDbContext))]
|
||
|
[Migration("20220825073140_FilesDbContext_Upgrade1")]
|
||
|
partial class FilesDbContext_Upgrade1
|
||
|
{
|
||
|
protected override void BuildTargetModel(ModelBuilder modelBuilder)
|
||
|
{
|
||
|
#pragma warning disable 612, 618
|
||
|
modelBuilder
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn)
|
||
|
.HasAnnotation("ProductVersion", "6.0.7")
|
||
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||
|
|
||
|
modelBuilder.Entity("ASC.Core.Common.EF.DbQuota", b =>
|
||
|
{
|
||
|
b.Property<int>("Tenant")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant");
|
||
|
|
||
|
b.Property<int>("ActiveUsers")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("active_users");
|
||
|
|
||
|
b.Property<string>("AvangateId")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(128)
|
||
|
.HasColumnType("character varying(128)")
|
||
|
.HasColumnName("avangate_id")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<string>("Description")
|
||
|
.HasColumnType("character varying")
|
||
|
.HasColumnName("description");
|
||
|
|
||
|
b.Property<string>("Features")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("features");
|
||
|
|
||
|
b.Property<long>("MaxFileSize")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("bigint")
|
||
|
.HasColumnName("max_file_size")
|
||
|
.HasDefaultValueSql("'0'");
|
||
|
|
||
|
b.Property<long>("MaxTotalSize")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("bigint")
|
||
|
.HasColumnName("max_total_size")
|
||
|
.HasDefaultValueSql("'0'");
|
||
|
|
||
|
b.Property<string>("Name")
|
||
|
.HasColumnType("character varying")
|
||
|
.HasColumnName("name");
|
||
|
|
||
|
b.Property<decimal>("Price")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("numeric(10,2)")
|
||
|
.HasColumnName("price")
|
||
|
.HasDefaultValueSql("0.00");
|
||
|
|
||
|
b.Property<bool>("Visible")
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("visible");
|
||
|
|
||
|
b.HasKey("Tenant")
|
||
|
.HasName("tenants_quota_pkey");
|
||
|
|
||
|
b.ToTable("tenants_quota", "onlyoffice");
|
||
|
|
||
|
b.HasData(
|
||
|
new
|
||
|
{
|
||
|
Tenant = -1,
|
||
|
ActiveUsers = 10000,
|
||
|
AvangateId = "0",
|
||
|
Features = "domain,audit,controlpanel,healthcheck,ldap,sso,whitelabel,branding,ssbranding,update,support,portals:10000,discencryption,privacyroom,restore",
|
||
|
MaxFileSize = 102400L,
|
||
|
MaxTotalSize = 10995116277760L,
|
||
|
Name = "default",
|
||
|
Price = 0.00m,
|
||
|
Visible = false
|
||
|
});
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Core.Common.EF.DbTariff", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id")
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||
|
|
||
|
b.Property<string>("Comment")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("comment")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<DateTime>("CreateOn")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("create_on")
|
||
|
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||
|
|
||
|
b.Property<int>("Quantity")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("quantity");
|
||
|
|
||
|
b.Property<DateTime>("Stamp")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("stamp");
|
||
|
|
||
|
b.Property<int>("Tariff")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tariff");
|
||
|
|
||
|
b.Property<int>("Tenant")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant");
|
||
|
|
||
|
b.HasKey("Id");
|
||
|
|
||
|
b.HasIndex("Tenant")
|
||
|
.HasDatabaseName("tenant_tenants_tariff");
|
||
|
|
||
|
b.ToTable("tenants_tariff", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Core.Common.EF.Model.DbTenant", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id")
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||
|
|
||
|
b.Property<string>("Alias")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(100)
|
||
|
.HasColumnType("character varying(100)")
|
||
|
.HasColumnName("alias");
|
||
|
|
||
|
b.Property<bool>("Calls")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("calls")
|
||
|
.HasDefaultValueSql("true");
|
||
|
|
||
|
b.Property<DateTime>("CreationDateTime")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("creationdatetime");
|
||
|
|
||
|
b.Property<int>("Industry")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("industry");
|
||
|
|
||
|
b.Property<string>("Language")
|
||
|
.IsRequired()
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(10)
|
||
|
.HasColumnType("character(10)")
|
||
|
.HasColumnName("language")
|
||
|
.HasDefaultValueSql("'en-US'")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime>("LastModified")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("last_modified")
|
||
|
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||
|
|
||
|
b.Property<string>("MappedDomain")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(100)
|
||
|
.HasColumnType("character varying(100)")
|
||
|
.HasColumnName("mappeddomain")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<string>("Name")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("name");
|
||
|
|
||
|
b.Property<Guid?>("OwnerId")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("owner_id")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<string>("PaymentId")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("character varying(38)")
|
||
|
.HasColumnName("payment_id")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<bool>("Spam")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("spam")
|
||
|
.HasDefaultValueSql("true");
|
||
|
|
||
|
b.Property<int>("Status")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("status");
|
||
|
|
||
|
b.Property<DateTime?>("StatusChanged")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("statuschanged");
|
||
|
|
||
|
b.Property<string>("TimeZone")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("timezone")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<int>("TrustedDomainsEnabled")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("trusteddomainsenabled")
|
||
|
.HasDefaultValueSql("1");
|
||
|
|
||
|
b.Property<string>("TrustedDomainsRaw")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(1024)
|
||
|
.HasColumnType("character varying(1024)")
|
||
|
.HasColumnName("trusteddomains")
|
||
|
.HasDefaultValueSql("NULL");
|
||
|
|
||
|
b.Property<int>("Version")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("version")
|
||
|
.HasDefaultValueSql("2");
|
||
|
|
||
|
b.Property<DateTime?>("Version_Changed")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("version_changed");
|
||
|
|
||
|
b.HasKey("Id");
|
||
|
|
||
|
b.HasIndex("Alias")
|
||
|
.IsUnique()
|
||
|
.HasDatabaseName("alias");
|
||
|
|
||
|
b.HasIndex("LastModified")
|
||
|
.HasDatabaseName("last_modified_tenants_tenants");
|
||
|
|
||
|
b.HasIndex("MappedDomain")
|
||
|
.HasDatabaseName("mappeddomain");
|
||
|
|
||
|
b.HasIndex("Version")
|
||
|
.HasDatabaseName("version");
|
||
|
|
||
|
b.ToTable("tenants_tenants", "onlyoffice");
|
||
|
|
||
|
b.HasData(
|
||
|
new
|
||
|
{
|
||
|
Id = 1,
|
||
|
Alias = "localhost",
|
||
|
Calls = false,
|
||
|
CreationDateTime = new DateTime(2021, 3, 9, 17, 46, 59, 97, DateTimeKind.Utc).AddTicks(4317),
|
||
|
Industry = 0,
|
||
|
LastModified = new DateTime(2022, 7, 8, 0, 0, 0, 0, DateTimeKind.Unspecified),
|
||
|
Name = "Web Office",
|
||
|
OwnerId = new Guid("66faa6e4-f133-11ea-b126-00ffeec8b4ef"),
|
||
|
Spam = false,
|
||
|
Status = 0,
|
||
|
TrustedDomainsEnabled = 0,
|
||
|
Version = 0
|
||
|
});
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Core.Common.EF.Model.FilesConverts", b =>
|
||
|
{
|
||
|
b.Property<string>("Input")
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("input");
|
||
|
|
||
|
b.Property<string>("Output")
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("output");
|
||
|
|
||
|
b.HasKey("Input", "Output")
|
||
|
.HasName("files_converts_pkey");
|
||
|
|
||
|
b.ToTable("files_converts", "onlyoffice");
|
||
|
|
||
|
b.HasData(
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".csv",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doc",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docm",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".doct",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docx",
|
||
|
Output = ".docxf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".oform"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".docxf",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dot",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotm",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".dotx",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".epub",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fb2",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodp",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fods",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".fodt",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".html",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".mht",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odp",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".otp",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ods",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ots",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".oxps",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".odt",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ott",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pot",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potm",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".potx",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pps",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsm",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppsx",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".ppt",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptm",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptt",
|
||
|
Output = ".pptx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".odp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".otp"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".potm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".potx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".pptx",
|
||
|
Output = ".pptm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".txt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".rtf",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".txt",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xls",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsm",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlsx",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlst",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xlt",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".xltx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltm",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".csv"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".ods"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".ots"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".xlsm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".xltm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xltx",
|
||
|
Output = ".xlsx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xps",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".docm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".docx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".dotm"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".dotx"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".epub"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".fb2"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".html"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".odt"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".ott"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".pdf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".rtf"
|
||
|
},
|
||
|
new
|
||
|
{
|
||
|
Input = ".xml",
|
||
|
Output = ".txt"
|
||
|
});
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFile", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<int>("Version")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("version");
|
||
|
|
||
|
b.Property<int>("Category")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("category");
|
||
|
|
||
|
b.Property<string>("Changes")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("changes");
|
||
|
|
||
|
b.Property<string>("Comment")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("comment")
|
||
|
.HasDefaultValueSql("NULL::character varying");
|
||
|
|
||
|
b.Property<long>("ContentLength")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("bigint")
|
||
|
.HasColumnName("content_length")
|
||
|
.HasDefaultValueSql("'0'::bigint");
|
||
|
|
||
|
b.Property<string>("ConvertedType")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(10)
|
||
|
.HasColumnType("character varying(10)")
|
||
|
.HasColumnName("converted_type")
|
||
|
.HasDefaultValueSql("NULL::character varying");
|
||
|
|
||
|
b.Property<Guid>("CreateBy")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("create_by")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime>("CreateOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("create_on");
|
||
|
|
||
|
b.Property<bool>("CurrentVersion")
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("current_version");
|
||
|
|
||
|
b.Property<bool>("Encrypted")
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("encrypted");
|
||
|
|
||
|
b.Property<int>("FileStatus")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("file_status");
|
||
|
|
||
|
b.Property<int>("Forcesave")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("forcesave");
|
||
|
|
||
|
b.Property<Guid>("ModifiedBy")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("modified_by")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime>("ModifiedOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("modified_on");
|
||
|
|
||
|
b.Property<int>("ParentId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("folder_id");
|
||
|
|
||
|
b.Property<int>("ThumbnailStatus")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("thumb");
|
||
|
|
||
|
b.Property<string>("Title")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(400)
|
||
|
.HasColumnType("character varying(400)")
|
||
|
.HasColumnName("title");
|
||
|
|
||
|
b.Property<int>("VersionGroup")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("version_group")
|
||
|
.HasDefaultValueSql("1");
|
||
|
|
||
|
b.HasKey("Id", "TenantId", "Version")
|
||
|
.HasName("files_file_pkey");
|
||
|
|
||
|
b.HasIndex("Id")
|
||
|
.HasDatabaseName("id");
|
||
|
|
||
|
b.HasIndex("ModifiedOn")
|
||
|
.HasDatabaseName("modified_on_files_file");
|
||
|
|
||
|
b.HasIndex("ParentId")
|
||
|
.HasDatabaseName("folder_id");
|
||
|
|
||
|
b.ToTable("files_file", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesBunchObjects", b =>
|
||
|
{
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("RightNode")
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("right_node");
|
||
|
|
||
|
b.Property<string>("LeftNode")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("left_node");
|
||
|
|
||
|
b.HasKey("TenantId", "RightNode")
|
||
|
.HasName("files_bunch_objects_pkey");
|
||
|
|
||
|
b.HasIndex("LeftNode")
|
||
|
.HasDatabaseName("left_node");
|
||
|
|
||
|
b.ToTable("files_bunch_objects", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesLink", b =>
|
||
|
{
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("SourceId")
|
||
|
.HasMaxLength(32)
|
||
|
.HasColumnType("character varying(32)")
|
||
|
.HasColumnName("source_id");
|
||
|
|
||
|
b.Property<string>("LinkedId")
|
||
|
.HasMaxLength(32)
|
||
|
.HasColumnType("character varying(32)")
|
||
|
.HasColumnName("linked_id");
|
||
|
|
||
|
b.Property<Guid>("LinkedFor")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("linked_for")
|
||
|
.HasDefaultValueSql("NULL::bpchar")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.HasKey("TenantId", "SourceId", "LinkedId")
|
||
|
.HasName("files_link_pkey");
|
||
|
|
||
|
b.HasIndex("TenantId", "SourceId", "LinkedId", "LinkedFor")
|
||
|
.HasDatabaseName("linked_for_files_link");
|
||
|
|
||
|
b.ToTable("files_link", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesProperties", b =>
|
||
|
{
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("EntryId")
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("entry_id");
|
||
|
|
||
|
b.Property<string>("Data")
|
||
|
.IsRequired()
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("data");
|
||
|
|
||
|
b.HasKey("TenantId", "EntryId")
|
||
|
.HasName("files_properties_pkey");
|
||
|
|
||
|
b.ToTable("files_properties", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesSecurity", b =>
|
||
|
{
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("EntryId")
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("entry_id");
|
||
|
|
||
|
b.Property<int>("EntryType")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("entry_type");
|
||
|
|
||
|
b.Property<Guid>("Subject")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("subject")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<Guid>("Owner")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("owner")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<int>("Share")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("security");
|
||
|
|
||
|
b.Property<DateTime>("TimeStamp")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("timestamp")
|
||
|
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||
|
|
||
|
b.HasKey("TenantId", "EntryId", "EntryType", "Subject")
|
||
|
.HasName("files_security_pkey");
|
||
|
|
||
|
b.HasIndex("Owner")
|
||
|
.HasDatabaseName("owner");
|
||
|
|
||
|
b.HasIndex("EntryId", "TenantId", "EntryType", "Owner")
|
||
|
.HasDatabaseName("tenant_id_files_security");
|
||
|
|
||
|
b.ToTable("files_security", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesTag", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id")
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||
|
|
||
|
b.Property<string>("Name")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(255)
|
||
|
.HasColumnType("character varying(255)")
|
||
|
.HasColumnName("name");
|
||
|
|
||
|
b.Property<Guid>("Owner")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("owner");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<int>("Type")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("flag");
|
||
|
|
||
|
b.HasKey("Id");
|
||
|
|
||
|
b.HasIndex("TenantId", "Owner", "Name", "Type")
|
||
|
.HasDatabaseName("name_files_tag");
|
||
|
|
||
|
b.ToTable("files_tag", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesTagLink", b =>
|
||
|
{
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<int>("TagId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tag_id");
|
||
|
|
||
|
b.Property<int>("EntryType")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("entry_type");
|
||
|
|
||
|
b.Property<string>("EntryId")
|
||
|
.HasMaxLength(32)
|
||
|
.HasColumnType("character varying(32)")
|
||
|
.HasColumnName("entry_id");
|
||
|
|
||
|
b.Property<int>("Count")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tag_count");
|
||
|
|
||
|
b.Property<Guid?>("CreateBy")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("create_by")
|
||
|
.HasDefaultValueSql("NULL::bpchar")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime?>("CreateOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("create_on");
|
||
|
|
||
|
b.HasKey("TenantId", "TagId", "EntryType", "EntryId")
|
||
|
.HasName("files_tag_link_pkey");
|
||
|
|
||
|
b.HasIndex("CreateOn")
|
||
|
.HasDatabaseName("create_on_files_tag_link");
|
||
|
|
||
|
b.HasIndex("TenantId", "EntryType", "EntryId")
|
||
|
.HasDatabaseName("entry_id");
|
||
|
|
||
|
b.ToTable("files_tag_link", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesThirdpartyAccount", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id")
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||
|
|
||
|
b.Property<DateTime>("CreateOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("create_on");
|
||
|
|
||
|
b.Property<string>("FolderId")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("folder_id");
|
||
|
|
||
|
b.Property<int>("FolderType")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("folder_type");
|
||
|
|
||
|
b.Property<string>("Password")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(100)
|
||
|
.HasColumnType("character varying(100)")
|
||
|
.HasColumnName("password");
|
||
|
|
||
|
b.Property<bool>("Private")
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("private");
|
||
|
|
||
|
b.Property<string>("Provider")
|
||
|
.IsRequired()
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("provider")
|
||
|
.HasDefaultValueSql("'0'::character varying");
|
||
|
|
||
|
b.Property<int>("RoomType")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("room_type");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("Title")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(400)
|
||
|
.HasColumnType("character varying(400)")
|
||
|
.HasColumnName("customer_title");
|
||
|
|
||
|
b.Property<string>("Token")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("token");
|
||
|
|
||
|
b.Property<string>("Url")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("url");
|
||
|
|
||
|
b.Property<Guid>("UserId")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("user_id");
|
||
|
|
||
|
b.Property<string>("UserName")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(100)
|
||
|
.HasColumnType("character varying(100)")
|
||
|
.HasColumnName("user_name");
|
||
|
|
||
|
b.HasKey("Id");
|
||
|
|
||
|
b.HasIndex("TenantId")
|
||
|
.HasDatabaseName("tenant_id");
|
||
|
|
||
|
b.ToTable("files_thirdparty_account", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesThirdpartyApp", b =>
|
||
|
{
|
||
|
b.Property<Guid>("UserId")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("user_id");
|
||
|
|
||
|
b.Property<string>("App")
|
||
|
.HasMaxLength(50)
|
||
|
.HasColumnType("character varying(50)")
|
||
|
.HasColumnName("app");
|
||
|
|
||
|
b.Property<DateTime>("ModifiedOn")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("modified_on")
|
||
|
.HasDefaultValueSql("CURRENT_TIMESTAMP");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("Token")
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("token");
|
||
|
|
||
|
b.HasKey("UserId", "App")
|
||
|
.HasName("files_thirdparty_app_pkey");
|
||
|
|
||
|
b.ToTable("files_thirdparty_app", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFilesThirdpartyIdMapping", b =>
|
||
|
{
|
||
|
b.Property<string>("HashId")
|
||
|
.HasMaxLength(32)
|
||
|
.HasColumnType("character(32)")
|
||
|
.HasColumnName("hash_id")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<string>("Id")
|
||
|
.IsRequired()
|
||
|
.HasColumnType("text")
|
||
|
.HasColumnName("id");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.HasKey("HashId")
|
||
|
.HasName("files_thirdparty_id_mapping_pkey");
|
||
|
|
||
|
b.HasIndex("TenantId", "HashId")
|
||
|
.HasDatabaseName("index_1");
|
||
|
|
||
|
b.ToTable("files_thirdparty_id_mapping", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFolder", b =>
|
||
|
{
|
||
|
b.Property<int>("Id")
|
||
|
.ValueGeneratedOnAdd()
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("id")
|
||
|
.HasAnnotation("Npgsql:ValueGenerationStrategy", NpgsqlValueGenerationStrategy.IdentityByDefaultColumn);
|
||
|
|
||
|
b.Property<Guid>("CreateBy")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("create_by")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime>("CreateOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("create_on");
|
||
|
|
||
|
b.Property<int>("FilesCount")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("filesCount");
|
||
|
|
||
|
b.Property<int>("FolderType")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("folder_type");
|
||
|
|
||
|
b.Property<int>("FoldersCount")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("foldersCount");
|
||
|
|
||
|
b.Property<Guid>("ModifiedBy")
|
||
|
.HasMaxLength(38)
|
||
|
.HasColumnType("uuid")
|
||
|
.HasColumnName("modified_by")
|
||
|
.IsFixedLength();
|
||
|
|
||
|
b.Property<DateTime>("ModifiedOn")
|
||
|
.HasColumnType("timestamp with time zone")
|
||
|
.HasColumnName("modified_on");
|
||
|
|
||
|
b.Property<int>("ParentId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("parent_id");
|
||
|
|
||
|
b.Property<bool>("Private")
|
||
|
.HasColumnType("boolean")
|
||
|
.HasColumnName("private");
|
||
|
|
||
|
b.Property<int>("TenantId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("tenant_id");
|
||
|
|
||
|
b.Property<string>("Title")
|
||
|
.IsRequired()
|
||
|
.HasMaxLength(400)
|
||
|
.HasColumnType("character varying(400)")
|
||
|
.HasColumnName("title");
|
||
|
|
||
|
b.HasKey("Id");
|
||
|
|
||
|
b.HasIndex("ModifiedOn")
|
||
|
.HasDatabaseName("modified_on_files_folder");
|
||
|
|
||
|
b.HasIndex("TenantId", "ParentId")
|
||
|
.HasDatabaseName("parent_id");
|
||
|
|
||
|
b.ToTable("files_folder", "onlyoffice");
|
||
|
});
|
||
|
|
||
|
modelBuilder.Entity("ASC.Files.Core.EF.DbFolderTree", b =>
|
||
|
{
|
||
|
b.Property<int>("ParentId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("parent_id");
|
||
|
|
||
|
b.Property<int>("FolderId")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("folder_id");
|
||
|
|
||
|
b.Property<int>("Level")
|
||
|
.HasColumnType("integer")
|
||
|
.HasColumnName("level");
|
||
|
|
||
|
b.HasKey("ParentId", "FolderId")
|
||
|
.HasName("files_folder_tree_pkey");
|
||
|
|
||
|
b.HasIndex("FolderId")
|
||
|
.HasDatabaseName("folder_id_files_folder_tree");
|
||
|
|
||
|
b.ToTable("files_folder_tree", "onlyoffice");
|
||
|
});
|
||
|
#pragma warning restore 612, 618
|
||
|
}
|
||
|
}
|
||
|
}
|