Sha256: 8e9d7c26b5e1e5cfc2eba2ccbbdf91ba7184673769ae44fb639c4672325ee6bf

Contents?: true

Size: 410 Bytes

Versions: 9

Compression:

Stored size: 410 Bytes

Contents

# This migration comes from push_type (originally 20141117170533)
class CreatePushTypeUsers < ActiveRecord::Migration
  def change
    enable_extension 'uuid-ossp' unless extension_enabled?('uuid-ossp')
    create_table :push_type_users, id: :uuid, default: 'uuid_generate_v4()' do |t|
      t.string    :name
      t.string    :email
      t.json      :field_store
      
      t.timestamps
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
push_type_core-0.1.1 test/dummy/db/migrate/20150108182218_create_push_type_users.push_type.rb
push_type_auth-0.1.1 test/dummy/db/migrate/20150108182240_create_push_type_users.push_type.rb
push_type_admin-0.1.1 test/dummy/db/migrate/20150108182226_create_push_type_users.push_type.rb
push_type_core-0.1.0 test/dummy/db/migrate/20150102204403_create_push_type_users.push_type.rb
push_type_auth-0.1.0 test/dummy/db/migrate/20150102204443_create_push_type_users.push_type.rb
push_type_admin-0.1.0 test/dummy/db/migrate/20150102204418_create_push_type_users.push_type.rb
push_type_core-0.1.0.beta3 test/dummy/db/migrate/20141205213452_create_push_type_users.push_type.rb
push_type_auth-0.1.0.beta3 test/dummy/db/migrate/20141205213533_create_push_type_users.push_type.rb
push_type_admin-0.1.0.beta3 test/dummy/db/migrate/20141205213506_create_push_type_users.push_type.rb