Update 2022026611846571_create_table_coops_requests.jl
This commit is contained in:
parent
1dcce2b139
commit
0cbbdb8430
|
@ -6,7 +6,7 @@ include("../../lib/DatabaseSupport.jl")
|
||||||
using .DatabaseSupport
|
using .DatabaseSupport
|
||||||
|
|
||||||
function up()
|
function up()
|
||||||
create_table(:groups_requests) do
|
create_table(:cooperatives_requests) do
|
||||||
[
|
[
|
||||||
primary_key()
|
primary_key()
|
||||||
column(:id_given, :integer)
|
column(:id_given, :integer)
|
||||||
|
@ -21,12 +21,12 @@ function up()
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
set_default("groups_requests","verified",false)
|
set_default("cooperatives_requests","verified",false)
|
||||||
set_default("groups_requests","added",false)
|
set_default("cooperatives_requests","added",false)
|
||||||
end
|
end
|
||||||
|
|
||||||
function down()
|
function down()
|
||||||
drop_table(:groups_requests)
|
drop_table(:cooperatives_requests)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
Reference in New Issue