Chatwoot/db/migrate/20200704135810_create_kbase_categories.rb
Subin T P 701eccb35c
Feature: Knowledge Base APIs (#1002)
- Introduce models & migrations for portals, categories, folders and articles
- CRUD API for portals
- CRUD API for categories

Addresses: #714

Co-authored-by: Sojan <sojan@pepalo.com>
2020-09-26 02:32:34 +05:30

13 lines
306 B
Ruby

class CreateKbaseCategories < ActiveRecord::Migration[6.0]
def change
create_table :kbase_categories do |t|
t.integer :account_id, null: false
t.integer :portal_id, null: false
t.string :name
t.text :description
t.integer :position
t.timestamps
end
end
end