Sha256: 0bf9afc2cec4a07566cea5f11d45fc300d3a75dd71f38df77e14cc256e9370d6
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
class CreateGroups < ActiveRecord::Migration def self.up create_table :groups do |t| t.string :name t.string :code t.integer :group_type_id t.timestamps end create_table :user_group_memberships do |t| t.integer :user_id t.integer :group_id end end def self.down drop_table :user_group_memberships drop_table :groups end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nate-browsercms-3.0.210 | db/migrate/20081007190156_create_groups.rb |
nate-browsercms-3.0.211 | db/migrate/20081007190156_create_groups.rb |