Feature: Label APIs (#931)
This commit is contained in:
13
db/migrate/20200606132552_create_labels.rb
Normal file
13
db/migrate/20200606132552_create_labels.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
||||
Reference in New Issue
Block a user