Sha256: a53e902a074a86a1a76fb327b44d4d767ce2ee0328ae0f633ff7631d4411049b
Contents?: true
Size: 381 Bytes
Versions: 104
Compression:
Stored size: 381 Bytes
Contents
class CreatePermissions < ActiveRecord::Migration def self.up create_table :permissions do |t| t.string :name t.timestamps end create_table :permissions_user_groups, :id => false do |t| t.integer :permission_id t.integer :user_group_id end end def self.down drop_table :permissions_user_groups drop_table :permissions end end
Version data entries
104 entries across 103 versions & 7 rubygems