Sha256: 718571749b2bde303931571bc9fb3c5b6c8c2a4eef556c018af2ae9e546120e7
Contents?: true
Size: 450 Bytes
Versions: 9
Compression:
Stored size: 450 Bytes
Contents
class CreatePwbContents < ActiveRecord::Migration[5.0] def change create_table :pwb_contents do |t| t.string :key t.string :tag # t.text :raw t.string :input_type t.string :status t.integer :last_updated_by_user_id # To allow ordering of content t.integer :sort_order t.string :target_url t.timestamps null: false end add_index :pwb_contents, :key, unique: true end end
Version data entries
9 entries across 9 versions & 1 rubygems