Sha256: 67f7cc4e7556e91dccb7ccc48ba7891e25b0fff5c80ae0bf522e26317aaaa52e

Contents?: true

Size: 361 Bytes

Versions: 27

Compression:

Stored size: 361 Bytes

Contents

class CreateJobshopSites < ActiveRecord::Migration[5.0]
  def change
    enable_extension "pgcrypto" unless extension_enabled?("pgcrypto")

    create_table :jobshop_sites, id: :uuid, default: "gen_random_uuid()" do |t|
      t.string :name
      t.string :configuration_token
      t.datetime :configuration_token_sent_at

      t.timestamps
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
jobshop-0.0.107 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.101 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.67 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.61 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.59 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.53 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.41 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.37 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.29 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.23 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.16 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.15 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.14 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.13 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.12 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.11 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.10 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.9 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.7 db/migrate/20160314190424_create_jobshop_sites.rb
jobshop-0.0.6 db/migrate/20160314190424_create_jobshop_sites.rb