class Avram::Migrator::ChangeNullStatement
Overview
Builds an SQL statement for changing a columns NOT NULL status.
Usage
ChangeNullStatement.new(:users, :email, make: :optional).build
# => "ALTER TABLE users ALTER COLUMN email DROP NOT NULL;"
Builds an SQL statement for changing a columns NOT NULL status.
ChangeNullStatement.new(:users, :email, make: :optional).build
# => "ALTER TABLE users ALTER COLUMN email DROP NOT NULL;"
Object