Bug fix
This commit is contained in:
parent
0a87157753
commit
9fd580eb21
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue