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.64 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.63 spec/dummy/db/migrate/077_create_user_groups.rb
enju_news-0.0.4 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.62 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.61 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.3 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.60 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.59 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.58 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.57 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.56 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.55 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.54 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.53 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.52 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.2 spec/dummy/db/migrate/077_create_user_groups.rb
enju_news-0.0.3 spec/dummy/db/migrate/077_create_user_groups.rb
enju_news-0.0.2 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.1 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.51 spec/dummy/db/migrate/077_create_user_groups.rb