From 6614f365cc51085b44ccbccd81be4e8312c4dd94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baz=C3=A1n?= Date: Mon, 23 May 2016 19:53:09 +0200 Subject: [PATCH] fixes indentation --- db/migrate/20160518141543_create_banners.rb | 23 +++++++++++---------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/db/migrate/20160518141543_create_banners.rb b/db/migrate/20160518141543_create_banners.rb index a7cfb3f6e..efa8870a1 100644 --- a/db/migrate/20160518141543_create_banners.rb +++ b/db/migrate/20160518141543_create_banners.rb @@ -1,18 +1,19 @@ class CreateBanners < ActiveRecord::Migration def change - create_table :banners do |t| - t.string :title, limit: 80 - t.string :description - t.string :target_url - t.string :style - t.string :image - t.date :post_started_at - t.date :post_ended_at - t.datetime :hidden_at + create_table :banners do |t| + t.string :title, limit: 80 + t.string :description + t.string :target_url + t.string :style + t.string :image + t.date :post_started_at + t.date :post_ended_at + t.datetime :hidden_at - t.datetime "created_at", null: false - t.datetime "updated_at", null: false + t.datetime "created_at", null: false + t.datetime "updated_at", null: false end + add_index :banners, :hidden_at end end \ No newline at end of file