aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-11-14 12:25:52 +0100
committerHarald Eilertsen <haraldei@anduin.net>2015-11-14 12:25:52 +0100
commit5dc8b93400d77edb8cd65e67f4ea667fbd163c8a (patch)
tree74320f25c64e6b178eae33cf7e6d21abcd943ad2 /db/schema.rb
parentd53c2df0029ea813f02af49e30033d47d02fd951 (diff)
downloadhmnoweb-5dc8b93400d77edb8cd65e67f4ea667fbd163c8a.tar.gz
hmnoweb-5dc8b93400d77edb8cd65e67f4ea667fbd163c8a.tar.bz2
hmnoweb-5dc8b93400d77edb8cd65e67f4ea667fbd163c8a.zip
Add migrations for banner module.
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb9
1 files changed, 5 insertions, 4 deletions
diff --git a/db/schema.rb b/db/schema.rb
index 1fce98c..b853b26 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,20 +11,21 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20151113210550) do
+ActiveRecord::Schema.define(:version => 20151114112243) do
create_table "refinery_banners", :force => true do |t|
t.string "name"
t.string "title"
- t.string "description"
+ t.text "description", :limit => 255
t.integer "image_id"
t.string "url"
t.boolean "is_active"
t.date "start_date"
t.date "expiry_date"
t.integer "position"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
+ t.string "locale"
end
create_table "refinery_banners_pages", :id => false, :force => true do |t|