Sha256: 8309f1987e09b7813c30cf40010668cb10fb63bf2f16974a84e3f3e659b34883

Contents?: true

Size: 314 Bytes

Versions: 8

Compression:

Stored size: 314 Bytes

Contents

Sequel.migration do
  change do
    create_table(:<%= table_name %>, charset: "utf8") do
      primary_key :id
      String :uuid, null: false

      DateTime :created_at, null: false
      DateTime :updated_at, null: false
      index [:uuid], unique: true, name: "<%= table_name %>_uuid_index"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
pact_broker-2.89.1 scaffolding/templates/migration.erb
pact_broker-2.89.0 scaffolding/templates/migration.erb
pact_broker-2.88.0 scaffolding/templates/migration.erb
pact_broker-2.87.0 scaffolding/templates/migration.erb
pact_broker-2.86.0 scaffolding/templates/migration.erb
pact_broker-2.85.1 scaffolding/templates/migration.erb
pact_broker-2.85.0 scaffolding/templates/migration.erb
pact_broker-2.84.0 scaffolding/templates/migration.erb