You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
310 B
8 lines
310 B
class AddCredentialsToDistrict < ActiveRecord::Migration[8.0]
|
|
def change
|
|
add_column :districts, :username, :string, null: true, default: nil
|
|
add_column :districts, :password, :string, null: true, default: nil
|
|
add_column :districts, :login_required, :boolean, null: false, default: true
|
|
end
|
|
end
|