mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-24 22:42:27 -05:00
9 lines
214 B
Ruby
9 lines
214 B
Ruby
class CreateUsers < ActiveRecord::Migration
|
|
def change
|
|
create_table :users do |t|
|
|
t.string :username, limit: 20, null: false
|
|
t.string :avatar_url, null: false
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|