Sha256: bbe70a167b8dfe699bda54e3fa3e4d60915c843fc958b7552979407792ffc5eb

Contents?: true

Size: 287 Bytes

Versions: 8

Compression:

Stored size: 287 Bytes

Contents

class CreateGeorgiaRoles < ActiveRecord::Migration

  def up
    create_table :georgia_roles do |t|
      t.string :name
      t.timestamps
    end
    Georgia::Role.create(name: 'Admin')
    Georgia::Role.create(name: 'Editor')
  end

  def down
    drop_table :georgia_roles
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
georgia-0.7.8 db/migrate/008_create_georgia_roles.rb
georgia-0.7.7 db/migrate/008_create_georgia_roles.rb
georgia-0.7.6 db/migrate/008_create_georgia_roles.rb
georgia-0.7.5 db/migrate/008_create_georgia_roles.rb
georgia-0.7.4 db/migrate/008_create_georgia_roles.rb
georgia-0.7.3 db/migrate/008_create_georgia_roles.rb
georgia-0.7.2 db/migrate/008_create_georgia_roles.rb
georgia-0.7.1 db/migrate/008_create_georgia_roles.rb