Browse Source

Create 表结构

pull/4/head
joshsulin 3 years ago
committed by GitHub
parent
commit
db83076b19
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      09-基于Rust Axum-web 和 MySQL 开发短链服务/表结构

5
09-基于Rust Axum-web 和 MySQL 开发短链服务/表结构

@ -0,0 +1,5 @@
CREATE TABLE `short_links` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`url` varchar(255) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8;
Loading…
Cancel
Save