added 'order' fields to sections, categories and sub_categories. - moved backoffice migrations to front-api

This commit is contained in:
Edin Dazdarevic
2015-03-19 00:10:24 +01:00
parent a1b9250865
commit 70635ebd1e
9 changed files with 58 additions and 29 deletions

View File

@@ -0,0 +1,16 @@
class CreateSuppliers < ActiveRecord::Migration
def change
create_table :suppliers do |t|
t.string :name
t.string :address
t.string :postal_code
t.string :town
t.string :phone
t.string :contact_person
t.string :email
t.text :note
t.timestamps null: false
end
end
end