added ribica rake task (item import, copying sections to menu etc.)
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class ChangeCodeColumnOnItemsTable < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :items, :code, :string, limit: 30
|
||||
end
|
||||
end
|
||||
@@ -11,7 +11,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema.define(version: 20150328132019) do
|
||||
ActiveRecord::Schema.define(version: 20150404114006) do
|
||||
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "plpgsql"
|
||||
@@ -113,7 +113,7 @@ ActiveRecord::Schema.define(version: 20150328132019) do
|
||||
|
||||
create_table "items", force: :cascade do |t|
|
||||
t.string "name"
|
||||
t.string "code", limit: 10
|
||||
t.string "code", limit: 30
|
||||
t.decimal "current_input_price", precision: 5, scale: 2
|
||||
t.decimal "list_price", precision: 5, scale: 2
|
||||
t.integer "unit_id"
|
||||
|
||||
Reference in New Issue
Block a user