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.1.0.pre41 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre62 spec/dummy/db/migrate/077_create_user_groups.rb
enju_bookmark-0.1.2.pre20 spec/dummy/db/migrate/077_create_user_groups.rb
enju_bookmark-0.1.2.pre19 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre40 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre61 spec/dummy/db/migrate/077_create_user_groups.rb
enju_bookmark-0.1.2.pre18 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre60 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre39 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre59 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre58 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre57 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre38 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre37 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre56 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre55 spec/dummy/db/migrate/077_create_user_groups.rb
enju_biblio-0.1.0.pre54 spec/dummy/db/migrate/077_create_user_groups.rb
enju_flower-0.1.0.pre16 spec/dummy/db/migrate/077_create_user_groups.rb
enju_circulation-0.1.0.pre36 spec/dummy/db/migrate/077_create_user_groups.rb
enju_library-0.1.0.pre33 spec/dummy/db/migrate/077_create_user_groups.rb