Sha256: a01ef87a5fc9e41d09085ffdc007c2dde2ff6830e9d24476d224cdde76af8fc3
Contents?: true
Size: 282 Bytes
Versions: 5
Compression:
Stored size: 282 Bytes
Contents
# frozen_string_literal: true require_relative 'database_adapter' class PostgresqlAdapter < DatabaseAdapter def reset_database! ActiveRecord::Base.connection.execute('drop schema public cascade;') ActiveRecord::Base.connection.execute('create schema public;') end end
Version data entries
5 entries across 5 versions & 1 rubygems