Sha256: 3ad5805ead6363a5f9e1d15067b1a8f39e8e2ee20dab23cfcecb5a1afda8e3e9

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

class CreateMultiUserModel < ActiveRecord::Migration[4.2]
  def up
    return unless Rails.env.test?
    create_table :refinery_blog_test_users do |t|
      t.string :username
    end
  end

  def down
    return unless Rails.env.test?
    drop_table :refinery_blog_test_users
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refinerycms-blog-4.0.0 db/migrate/20161223024527_create_multi_user_model.rb