Skip to content

Commit 182e4f2

Browse files
committed
Adds db field for rotation
Signed-off-by: Daniel Kastl <[email protected]>
1 parent ef90947 commit 182e4f2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
class AddProjectsMapRotation < ActiveRecord::Migration[6.1]
2+
def self.up
3+
add_column :projects, :map_rotation, :integer, default: 0
4+
end
5+
6+
def self.down
7+
remove_column :projects, :map_rotation
8+
end
9+
end

0 commit comments

Comments
 (0)