instance method
drop_schema
Ruby on Rails 4.2.9
Since v4.2.9Signature
drop_schema(schema_name)
Drops the schema for the given schema name.
Parameters
-
schema_namereq
Source
# File activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb, line 258
def drop_schema schema_name
execute "DROP SCHEMA #{schema_name} CASCADE"
end
Defined in activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb line 258
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::PostgreSQL::SchemaStatements