Sha256: 143304eba367e25fbbb4b2f6f22d97591c98e210a47d336a738fad0fe6bb5f0d

Contents?: true

Size: 407 Bytes

Versions: 10

Compression:

Stored size: 407 Bytes

Contents

Sequel.migration do
  up do
    create_table!(:spontaneous_page_lock, :engine => "INNODB", :charset => "UTF8", :collate => "utf8_general_ci") do
      primary_key :id

      Integer  :page_id,    :index => true
      Integer  :content_id, :index => true
      String   :field_id
      DateTime :created_at
      String   :description
    end
  end

  down do
    drop_table :spontaneous_page_lock
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta9 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta8 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta7 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta6 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta5 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta4 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta3 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta2 db/migrations/20130109125023_add_page_publish_lock.rb
spontaneous-0.2.0.beta1 db/migrations/20130109125023_add_page_publish_lock.rb