Sha256: 7c702bb70bff033caa81a684a7eeee0de7c6512a83cb2cf0951e93bad367d3ba

Contents?: true

Size: 326 Bytes

Versions: 29

Compression:

Stored size: 326 Bytes

Contents

# This migration comes from notee (originally 20160605141547)
class CreateNoteeImages < ActiveRecord::Migration
  def change
    create_table :notee_images do |t|

      t.string :content, null: false, uniqueness: true

      # if you have user_id
      # t.integer :user_id

      t.timestamps null: false
    end
  end

end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
notee-0.3.4.1 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.3.4 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.3.3 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.3.2 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.3.1 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.3.0 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.2.9 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.2.8 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb
notee-0.2.7 test/dummy/db/migrate/20160713102622_create_notee_images.notee.rb