Sha256: 132eb0373f07aaf3b39be3e20bc785ee9e2794ec895b4889d23522f6e6ad0e18
Contents?: true
Size: 364 Bytes
Versions: 104
Compression:
Stored size: 364 Bytes
Contents
class CreateUserGroups < ActiveRecord::Migration def self.up create_table :user_groups do |t| t.string :name t.timestamps end create_table :user_groups_users, :id => false do |t| t.integer :user_group_id t.integer :user_id end end def self.down drop_table :user_groups_users drop_table :user_groups end end
Version data entries
104 entries across 103 versions & 7 rubygems