Sha256: 632ba60d11d71e31d95e4be2e1210d8afcee7e90dcd103585954e2d18e3d847b
Contents?: true
Size: 504 Bytes
Versions: 1
Compression:
Stored size: 504 Bytes
Contents
class CreateBookmarkStatTransitions < ActiveRecord::Migration[4.2] def change create_table :bookmark_stat_transitions do |t| t.string :to_state t.text :metadata, default: "{}" t.integer :sort_key t.integer :bookmark_stat_id t.timestamps end add_index :bookmark_stat_transitions, :bookmark_stat_id add_index :bookmark_stat_transitions, [:sort_key, :bookmark_stat_id], unique: true, name: "index_bookmark_stat_transitions_on_sort_key_and_stat_id" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_grid-0.3.0.beta.1 | spec/dummy/db/migrate/20140524135607_create_bookmark_stat_transitions.rb |