Sha256: fd1f31f7357cae6041cb7b7d02bb5edef56ac370762ad5a1aa0a01563cf91649

Contents?: true

Size: 264 Bytes

Versions: 8

Compression:

Stored size: 264 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
notee-0.2.8 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.7 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.6 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.5 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.4 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.2 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.1 db/migrate/20160605141547_create_notee_images.rb
notee-0.2.0 db/migrate/20160605141547_create_notee_images.rb