Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.08 KB

File metadata and controls

55 lines (35 loc) · 1.08 KB

kapi_tree_pgsql

elixir build.exs

Setup

Copy & Paste code to your migrations or execute into your PostgreSQL database

Install

/src/install.pgsql

install rollback

/src/install.rollback.pgsql

INIT Context


Define your context(db schema) location, recommended to sufix with '_tree'

iex: categories_tree

SELECT kapi_tree_setup('categories_tree');

rollback

SELECT kapi_tree_setup_rollback('categories_tree');

=======================================

Licensing

Copyright 2022 Rolando Lucio

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.