From 38b6252f75c9bc1dbb4de6a507700ecf53ef9f81 Mon Sep 17 00:00:00 2001 From: a-ill Date: Tue, 1 Aug 2023 16:27:47 +0300 Subject: [PATCH] Update 2022026611846570_create_table_communes_requests.jl --- .../2022026611846570_create_table_communes_requests.jl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Server/db/migrations/2022026611846570_create_table_communes_requests.jl b/Server/db/migrations/2022026611846570_create_table_communes_requests.jl index c8abd86..0a3f1dd 100644 --- a/Server/db/migrations/2022026611846570_create_table_communes_requests.jl +++ b/Server/db/migrations/2022026611846570_create_table_communes_requests.jl @@ -1,4 +1,4 @@ -module CreateTablePartiesRequests +module CreateTableCommunesRequests import SearchLight.Migrations: create_table, column, primary_key, add_index, drop_table @@ -7,7 +7,7 @@ using .DatabaseSupport import .DatabaseSupport: set_default function up() - create_table(:parties_requests) do + create_table(:communes_requests) do [ primary_key() column(:id_given, :integer) @@ -23,12 +23,12 @@ function up() ] end - set_default("parties_requests","verified",false) - set_default("parties_requests","added",false) + set_default("communes_requests","verified",false) + set_default("communes_requests","added",false) end function down() - drop_table(:parties_requests) + drop_table(:communes_requests) end end \ No newline at end of file