Sha256: da5c81b537c33a7fc5d6cee03effe3a523a106c7705b9d9239c52582994153a7

Contents?: true

Size: 445 Bytes

Versions: 21

Compression:

Stored size: 445 Bytes

Contents

# This is named the same as the migration in spree 3.0 so it will not be copied
# if that has already been run.
class RemoveTokenPermissionsTable < ActiveRecord::Migration[4.2]
  def up
    drop_table :spree_tokenized_permissions
  end

  def down
    create_table "spree_tokenized_permissions" do |t|
      t.integer  "permissable_id"
      t.string   "permissable_type"
      t.string   "token"
      t.timestamps null: true
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.2.2 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.1.1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.0.3 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.3.0 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.3.0.rc3 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.3.0.rc2 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.3.0.rc1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.3.0.beta1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.0.2 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.2.1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.2.0 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.2.0.rc1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.2.0.beta1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.1.0 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.1.0.rc1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.0.1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.1.0.beta1 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.0.0 db/migrate/20151013222921_remove_token_permissions_table.rb
solidus_core-2.0.0.rc1 db/migrate/20151013222921_remove_token_permissions_table.rb