Added rate_id to the time_entries table
This commit is contained in:
1 parent
4ea018b304
commit
38b3fd1124
1 file changed
+11
@@ -0,0 +1,11 @@
|
|||||||
|
class AddRateIdToTimeEntries < ActiveRecord::Migration
|
||||||
|
def self.up
|
||||||
|
add_column :time_entries, :rate_id, :integer
|
||||||
|
add_index :time_entries, :rate_id
|
||||||
|
end
|
||||||
|
|
||||||
|
def self.down
|
||||||
|
remove_index :time_entries, :rate_id
|
||||||
|
remove_column :time_entries, :rate_id
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in new issue
Block a user