now the correct migration files for local dev are here, and public assets removed for local dev.
This commit is contained in:
parent
8820d787cb
commit
e0b94038ec
3 changed files with 23 additions and 18 deletions
13
db/migrate/20130101193917_create_topics.rb
Normal file
13
db/migrate/20130101193917_create_topics.rb
Normal 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
|
10
db/migrate/20130101194424_create_metacodes.rb
Normal file
10
db/migrate/20130101194424_create_metacodes.rb
Normal 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
|
18
db/schema.rb
18
db/schema.rb
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue