chatwoot-develop/db/migrate/20260114101002_create_captain_units.rb
2026-01-12 19:04:15 -03:00

14 lines
435 B
Ruby

class CreateCaptainUnits < ActiveRecord::Migration[7.1]
def change
create_table :captain_units do |t|
t.references :account, null: false, foreign_key: true
t.references :captain_brand, null: false, foreign_key: true
t.string :name, null: false
t.jsonb :visible_suite_categories, null: false, default: []
t.jsonb :suite_category_images, null: false, default: []
t.timestamps
end
end
end