Fixed missing namespace in constant in migration.

This commit is contained in:
Matej Zrimšek 2016-10-18 11:36:33 +02:00
parent 076353b207
commit 796e7da133

View file

@ -12,8 +12,8 @@ class AddOrganizationManagementSupport < ActiveRecord::Migration
change_column_null :assets, :estimated_size, false
# Add space taken to organization (in B!)
add_column :organizations, :space_taken, :integer,
limit: 5, default: MINIMAL_ORGANIZATION_SPACE_TAKEN
add_column :organizations, :space_taken, :integer, limit: 5,
default: Constants::MINIMAL_ORGANIZATION_SPACE_TAKEN
change_column_null :organizations, :space_taken, false
# Add reference to private user