summaryrefslogtreecommitdiff
path: root/db/migrate/20160222153918_create_appearances_ce.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160222153918_create_appearances_ce.rb')
-rw-r--r--db/migrate/20160222153918_create_appearances_ce.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/db/migrate/20160222153918_create_appearances_ce.rb b/db/migrate/20160222153918_create_appearances_ce.rb
new file mode 100644
index 00000000000..5e66d5094bd
--- /dev/null
+++ b/db/migrate/20160222153918_create_appearances_ce.rb
@@ -0,0 +1,14 @@
+class CreateAppearancesCE < ActiveRecord::Migration
+ def change
+ unless table_exists?(:appearances)
+ create_table :appearances do |t|
+ t.string :title
+ t.text :description
+ t.string :header_logo
+ t.string :logo
+
+ t.timestamps null: false
+ end
+ end
+ end
+end