This commit is contained in:
a-ill 2023-08-01 16:31:23 +03:00
parent 38b6252f75
commit d03efaa7a1
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ module CreateTableGroups
import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table
include("../../lib/DatabaseSupport.jl") include("../../lib/DatabaseSupport.jl")
import .DatabaseSupport: add_foreign_key, add_index import .DatabaseSupport: add_foreign_key
function up() function up()
create_table(:groups) do create_table(:groups) do

View File

@ -4,7 +4,7 @@ import SearchLight.Migrations: create_table, column, primary_key, add_index, dro
include("../../lib/DatabaseSupport.jl") include("../../lib/DatabaseSupport.jl")
using .DatabaseSupport using .DatabaseSupport
import .DatabaseSupport: add_foreign_key, add_index, set_default import .DatabaseSupport: add_foreign_key, set_default
function up() function up()
create_table(:groups_requests) do create_table(:groups_requests) do