17 lines
380 B
Ruby
17 lines
380 B
Ruby
class CreateMyshixuns < ActiveRecord::Migration
|
|
def change
|
|
create_table :myshixuns do |t|
|
|
t.string :name
|
|
t.text :description
|
|
t.integer :parent_id
|
|
t.boolean :is_public, :default => 1
|
|
t.integer :user_id
|
|
t.integer :gpid
|
|
t.integer :forked_from, :default => 0
|
|
t.integer :visits, :default => 0
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|