Sha256: 994dedc557c3652e75058e274d109d664dfb1322b740a4d6f3323d73c0ddda0a

Contents?: true

Size: 476 Bytes

Versions: 12

Compression:

Stored size: 476 Bytes

Contents

class Schema < ActiveRecord::Migration[6.0]
  def change
    create_table :items, force: true do |t|
      t.datetime :played_at, index: true, unique: true
      t.string :item_type
      t.string :title
      t.string :artist_name
      t.string :label_name
      t.string :release_name
      t.boolean :success
      t.string :remote_id
      t.datetime :last_attempt_at
      t.string :last_error_text
      t.integer :last_error_code

      t.timestamps
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dubbletrack_remote-0.8.5 db/migrate/001_schema.rb
dubbletrack_remote-0.8.4 db/migrate/001_schema.rb
dubbletrack_remote-0.8.3 db/migrate/001_schema.rb
dubbletrack_remote-0.8.2 db/migrate/001_schema.rb
dubbletrack_remote-0.8.1 db/migrate/001_schema.rb
dubbletrack_remote-0.8.0 db/migrate/001_schema.rb
dubbletrack_remote-0.7.6 db/migrate/001_schema.rb
dubbletrack_remote-0.7.5 db/migrate/001_schema.rb
dubbletrack_remote-0.7.4 db/migrate/001_schema.rb
dubbletrack_remote-0.7.3 db/migrate/001_schema.rb
dubbletrack_remote-0.7.2 db/migrate/001_schema.rb
dubbletrack_remote-0.7.1 db/migrate/001_schema.rb