Sha256: 2b8dfa3efd28d801864eddfd38be1dde898ef0a3db841cb1bf7bc317957a4348

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

class CreateEcmVideosCategories < ActiveRecord::Migration
  def change
    create_table :ecm_videos_categories do |t|
      t.string :locale
      t.string :name
      t.text :description

      t.string :markup_language

      # acts_as_list
      t.integer :position

      # friendly_id
      t.string :slug

      # acts_as_published
      t.timestamp :published_at

      t.timestamps null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_videos-1.0.4 db/migrate/20160214022529_create_ecm_videos_categories.rb
ecm_videos-1.0.3 db/migrate/20160214022529_create_ecm_videos_categories.rb
ecm_videos-1.0.2 db/migrate/20160214022529_create_ecm_videos_categories.rb
ecm_videos-1.0.1 db/migrate/20160214022529_create_ecm_videos_categories.rb
ecm_videos-1.0.0 db/migrate/20160214022529_create_ecm_videos_categories.rb