Class: AddEditorVersionToTimesEntries

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/watch_tower/server/db/migrate/010_add_editor_version_to_times_entries.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



4
5
6
# File 'lib/watch_tower/server/db/migrate/010_add_editor_version_to_times_entries.rb', line 4

def change
  add_column :time_entries, :editor_version, :string, null: false, default: ""
end