lib/generators/adminpanel/install/templates/migrations/create_adminpanel_tables.rb in adminpanel-0.0.7 vs lib/generators/adminpanel/install/templates/migrations/create_adminpanel_tables.rb in adminpanel-0.1.0cl
- old
+ new
@@ -34,12 +34,18 @@
t.string :name
t.boolean :has_description
t.text :description
t.string :key
t.boolean :has_image
- t.string :file
t.timestamps
end
+
+ create_table :adminpanel_clients do |t|
+ t.string :name
+ t.string :logo
+ t.timestamps
+ end
+
add_index :adminpanel_sections, [:key]
create_table :adminpanel_categories do |t|
t.string :name
t.timestamps
\ No newline at end of file