now the correct migration files for local dev are here, and public assets removed for local dev.

This commit is contained in:
Connor Turland 2013-01-01 18:14:36 -05:00
parent 8820d787cb
commit e0b94038ec
3 changed files with 23 additions and 18 deletions

View file

@ -0,0 +1,13 @@
class CreateTopics < ActiveRecord::Migration
def change
create_table :topics do |t|
t.text :name
t.text :desc
t.text :link
t.text :permission
t.integer :user_id
t.integer :metacode_id
t.timestamps
end
end
end

View file

@ -0,0 +1,10 @@
class CreateMetacodes < ActiveRecord::Migration
def change
create_table :metacodes do |t|
t.text :name
t.string :icon
t.timestamps
end
end
end

View file

@ -13,24 +13,6 @@
ActiveRecord::Schema.define(:version => 20130101215010) do
create_table "item_categories", :force => true do |t|
t.text "name"
t.string "icon"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "items", :force => true do |t|
t.text "name"
t.text "desc"
t.text "link"
t.text "permission"
t.integer "user_id"
t.integer "item_category_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "mappings", :force => true do |t|
t.text "category"
t.integer "xloc"