701eccb35c
- 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>
11 lines
250 B
Ruby
11 lines
250 B
Ruby
class CreateKbaseFolders < ActiveRecord::Migration[6.0]
|
|
def change
|
|
create_table :kbase_folders do |t|
|
|
t.integer :account_id, null: false
|
|
t.integer :category_id, null: false
|
|
t.string :name
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|