Sha256: 76ce2b6187da2ec7825dd91361ebe2d5f04450970dfae642c2cdc9408b380c90

Contents?: true

Size: 295 Bytes

Versions: 4

Compression:

Stored size: 295 Bytes

Contents

require 'ardb/migration_helpers'

class CreatePgJsonMigrateTest < ActiveRecord::Migration
  include Ardb::MigrationHelpers

  def change
    create_table :pg_json_test_records do |t|
      t.json  :json_attribute
    end
    add_column :pg_json_test_records, :jsonb_attribute, :jsonb
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ardb-0.28.3 test/support/postgresql/pg_json_migrations/20160519133432_create_pg_json_migrate_test.rb
ardb-0.28.2 test/support/postgresql/pg_json_migrations/20160519133432_create_pg_json_migrate_test.rb
ardb-0.28.1 test/support/postgresql/pg_json_migrations/20160519133432_create_pg_json_migrate_test.rb
ardb-0.28.0 test/support/postgresql/pg_json_migrations/20160519133432_create_pg_json_migrate_test.rb