From 9fd580eb21bb7fc46be7e236e8cd7fd75a8e3b11 Mon Sep 17 00:00:00 2001 From: a-ill Date: Tue, 1 Aug 2023 16:31:23 +0300 Subject: [PATCH] Bug fix --- Server/db/migrations/2022026611846565_create_table_groups.jl | 2 +- .../migrations/2022026611846569_create_table_groups_requests.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Server/db/migrations/2022026611846565_create_table_groups.jl b/Server/db/migrations/2022026611846565_create_table_groups.jl index 24dd9d3..2f5c975 100644 --- a/Server/db/migrations/2022026611846565_create_table_groups.jl +++ b/Server/db/migrations/2022026611846565_create_table_groups.jl @@ -3,7 +3,7 @@ module CreateTableGroups import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table include("../../lib/DatabaseSupport.jl") -import .DatabaseSupport: add_foreign_key, add_index +import .DatabaseSupport: add_foreign_key function up() create_table(:groups) do diff --git a/Server/db/migrations/2022026611846569_create_table_groups_requests.jl b/Server/db/migrations/2022026611846569_create_table_groups_requests.jl index dba2823..be61d02 100644 --- a/Server/db/migrations/2022026611846569_create_table_groups_requests.jl +++ b/Server/db/migrations/2022026611846569_create_table_groups_requests.jl @@ -4,7 +4,7 @@ import SearchLight.Migrations: create_table, column, primary_key, add_index, dro include("../../lib/DatabaseSupport.jl") using .DatabaseSupport -import .DatabaseSupport: add_foreign_key, add_index, set_default +import .DatabaseSupport: add_foreign_key, set_default function up() create_table(:groups_requests) do