Sha256: 8921e1102c6915f52f0ddbc08b6a64d8f144c87474c1fc3f56f7e38e8addeb66
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
class CreateTracks < ActiveRecord::Migration[5.2] def change create_table :tracks do |t| t.string :name t.string :key t.references :trackable, polymorphic: true t.references :user t.references :owner t.column :trackable_changes, :mediumtext t.text :parameters t.timestamps end add_index :tracks, :key end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ab_admin-0.11.0 | db/migrate/20130101000009_create_tracks.rb |
ab_admin-0.10.0 | db/migrate/20130101000009_create_tracks.rb |