Chatwoot/db/migrate/20200606132552_create_labels.rb

14 lines
277 B
Ruby
Raw Permalink Normal View History

2020-06-07 05:47:13 +00:00
class CreateLabels < ActiveRecord::Migration[6.0]
def change
create_table :labels do |t|
t.string :title
t.text :description
t.string :color
t.boolean :show_on_sidebar
t.references :account, index: true
t.timestamps
end
end
end