diff options
| -rw-r--r-- | db/migrate/20140705231829_add_watermark_to_photos.rb | 5 | ||||
| -rw-r--r-- | db/schema.rb | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/db/migrate/20140705231829_add_watermark_to_photos.rb b/db/migrate/20140705231829_add_watermark_to_photos.rb new file mode 100644 index 00000000..bfe3f962 --- /dev/null +++ b/db/migrate/20140705231829_add_watermark_to_photos.rb @@ -0,0 +1,5 @@ +class AddWatermarkToPhotos < ActiveRecord::Migration + def change + add_column :photos, :watermark, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index ee84f02f..2277abca 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20140705230409) do +ActiveRecord::Schema.define(version: 20140705231829) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -118,6 +118,7 @@ ActiveRecord::Schema.define(version: 20140705230409) do t.float "latitude" t.float "longitude" t.string "sha256" + t.string "watermark" end add_index "photos", ["creation_id"], name: "index_photos_on_creation_id", using: :btree |
