Sha256: 4301000c973bbfe309a7d45406602dc878b554d7a79e9d993bb4a837ba32ee19

Contents?: true

Size: 314 Bytes

Versions: 4

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

4 entries across 4 versions & 1 rubygems

Version Path
pact_broker-2.83.0 scaffolding/templates/migration.erb
pact_broker-2.82.0 scaffolding/templates/migration.erb
pact_broker-2.81.0 scaffolding/templates/migration.erb
pact_broker-2.80.0 scaffolding/templates/migration.erb