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_news-0.1.0.pre spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre2 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre spec/dummy/db/migrate/077_create_user_groups.rb
enju_library-0.1.0.pre spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.9 spec/dummy/db/migrate/077_create_user_groups.rb
enju_news-0.0.5 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.8 spec/dummy/db/migrate/077_create_user_groups.rb
enju_library-0.0.2 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.71 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.7 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.6 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.5 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.0.4 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.70 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.69 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.68 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.67 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.66 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.0.65 spec/dummy/db/migrate/077_create_user_groups.rb