Chatwoot/db/migrate/20200606132552_create_labels.rb
2020-06-07 11:17:13 +05:30

13 lines
277 B
Ruby

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