14 lines
251 B
Ruby
14 lines
251 B
Ruby
|
class CreateShares < ActiveRecord::Migration
|
||
|
def change
|
||
|
create_table :shares do |t|
|
||
|
t.string :access_token
|
||
|
t.string :comment
|
||
|
t.string :url
|
||
|
t.string :title
|
||
|
t.integer :share_type
|
||
|
|
||
|
t.timestamps
|
||
|
end
|
||
|
end
|
||
|
end
|