Chatwoot/db/migrate/20200704135408_create_kbase_portals.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

17 lines
426 B
Ruby

class CreateKbasePortals < ActiveRecord::Migration[6.0]
def change
create_table :kbase_portals do |t|
t.integer :account_id, null: false
t.string :name, null: false
t.string :slug, null: false
t.string :custom_domain
t.string :color
t.string :homepage_link
t.string :page_title
t.text :header_text
t.index :slug, unique: true
t.timestamps
end
end
end