Sha256: e5eb21e34b0224bac4472b8a0b9f9a55557780b0725812a7161c9a5a6b536d90

Contents?: true

Size: 207 Bytes

Versions: 79

Compression:

Stored size: 207 Bytes

Contents

class CreateSuperusers < ActiveRecord::Migration
  def self.up
    create_table :superusers do |t|
      t.integer :user_id, :null=>false
    end
  end

  def self.down
    drop_table :superusers
  end

end

Version data entries

79 entries across 41 versions & 1 rubygems

Version Path
hydra-head-4.1.3 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.1.3 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.1.2 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.1.2 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.1.1 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.1.1 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.1.0 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.1.0 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.3 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.3 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.2 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.2 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.1 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.1 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.0 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.0 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.0.rc6 db/migrate/20101108192527_create_superusers.rb
hydra-head-4.0.0.rc6 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.0.rc5 lib/generators/hydra/templates/migrations/create_superusers.rb
hydra-head-4.0.0.rc5 db/migrate/20101108192527_create_superusers.rb