Sha256: 10b2549649ff1ab4cd3a693228a063aff3c14c2e9d5eb933a5d45e4e55597ba4

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

Sequel.migration do
  change do
    create_table(:photos) do
      primary_key :id
      String :file_name, null: false, text: true
      String :path, null: false, text: true
      String :md5, null: false
      Integer :width, null: false
      Integer :height, null: false
      String :camera_name, null: false, text: true
      DateTime :taken_at
      DateTime :created_at
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
piccle-0.1.1.pre db/migrations/001_create_photos.rb
piccle-0.1.0.rc1 db/migrations/001_create_photos.rb