Sha256: 0ca60c24d7a289e23e551951fb56627f7c4ca377046fa33a5b783ec05a4b6889

Contents?: true

Size: 347 Bytes

Versions: 246

Compression:

Stored size: 347 Bytes

Contents

class CreateUserGroups < ActiveRecord::Migration
  def self.up
    create_table :user_groups do |t|
      t.string :name, :string, :not_null => true
      t.text :display_name, :string
      t.text :note
      t.integer :position
      t.timestamps
      t.datetime :deleted_at
    end
  end

  def self.down
    drop_table :user_groups
  end
end

Version data entries

246 entries across 246 versions & 8 rubygems

Version Path
enju_circulation-0.0.50 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.49 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.48 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.47 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.46 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.45 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.43 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.42 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.41 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.40 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.39 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.38 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.37 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.36 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.35 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.34 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.33 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.32 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.31 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.30 spec/dummy/db/migrate/077_create_user_groups.rb